cfg80211: clear WEXT SSID when clearing IBSS
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 20 Apr 2009 16:43:46 +0000 (18:43 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Apr 2009 20:57:17 +0000 (16:57 -0400)
commit9d308429a9fd0fa644f0b748f6241631f74a6cda
tree944b813829d21665f05e579bd97fd5c070f7ddf8
parentb9a5f8cab751d362f7c2d94899ca788c22fcd1ef
cfg80211: clear WEXT SSID when clearing IBSS

When we leave an IBSS, we should clear the SSID and not just the
BSSID, but since WEXT allows configuring while the interface is
down we must not clear it when leaving due to taking the iface
down, so some complications are needed.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/core.c
net/wireless/core.h
net/wireless/ibss.c
net/wireless/nl80211.c