nl80211: work around libnl bug
authorJohannes Berg <johannes.berg@intel.com>
Sun, 10 Oct 2010 14:47:15 +0000 (17:47 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 10 Oct 2010 14:47:15 +0000 (17:47 +0300)
commita65a9aed7e035a6c7143b39e19bcebd8fb788ea7
treeaa8b3d252b6b6557c59d641f0d9e97159214d5ef
parent4e698e5c30b7693a1ed600093fd8ae30b6841e8d
nl80211: work around libnl bug

libnl has a bug, when binding more than two sockets and releasing one,
it will release the wrong address and then try to reuse it, which fails.
Therefore, we need to reimplement the socket address assignment logic
locally for libnl 1.1.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
src/drivers/driver_nl80211.c