[PATCH] softmac: fix SIOCSIWAP
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 20 Apr 2006 18:02:03 +0000 (20:02 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 24 Apr 2006 19:20:23 +0000 (15:20 -0400)
commit818667f7c40dd0bd14029b5ac1d0f5282e12310e
treef270cfb4caeb26bceec7ea61ba93e268eae57324
parentdac322e39a2b82871cf514c9a533f24a1b4c7e19
[PATCH] softmac: fix SIOCSIWAP

There are some bugs in the current implementation of the SIOCSIWAP wext,
for example that when you do it twice and it fails, it may still try
another access point for some reason. This patch fixes this by introducing
a new flag that tells the association code that the bssid that is in use
was fixed by the user and shouldn't be deviated from.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/ieee80211softmac.h
net/ieee80211/softmac/ieee80211softmac_assoc.c
net/ieee80211/softmac/ieee80211softmac_module.c
net/ieee80211/softmac/ieee80211softmac_wx.c