[RFC 1/2] nl80211: abstract handling of sockets on eloop

Johannes Berg johannes at sipsolutions.net
Mon Oct 21 12:43:30 EDT 2013


On Mon, 2013-10-21 at 18:34 +0200, Johannes Berg wrote:
> From: Johannes Berg <johannes.berg at intel.com>
> 
> Abstract the handling of sockets on the eloop to avoid
> destroying sockets still on the eloop and also to allow
> the next patch to mark the socket non-blocking.

Also, this fixes the bss->nl_mgmt handle misuse - it shouldn't be put
onto the eloop list before the registration commands are sent on it.

johannes



More information about the HostAP mailing list