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>
This commit is contained in:
committed by
John W. Linville
parent
b9a5f8cab7
commit
9d308429a9
@@ -464,7 +464,7 @@ static int cfg80211_netdev_notifier_call(struct notifier_block * nb,
|
||||
break;
|
||||
if (!dev->ieee80211_ptr->ssid_len)
|
||||
break;
|
||||
cfg80211_leave_ibss(rdev, dev);
|
||||
cfg80211_leave_ibss(rdev, dev, true);
|
||||
break;
|
||||
case NETDEV_UP:
|
||||
#ifdef CONFIG_WIRELESS_EXT
|
||||
|
Reference in New Issue
Block a user