|
@@ -511,6 +511,7 @@ static int ieee80211_stop(struct net_device *dev)
|
|
case IEEE80211_IF_TYPE_STA:
|
|
case IEEE80211_IF_TYPE_STA:
|
|
case IEEE80211_IF_TYPE_IBSS:
|
|
case IEEE80211_IF_TYPE_IBSS:
|
|
sdata->u.sta.state = IEEE80211_DISABLED;
|
|
sdata->u.sta.state = IEEE80211_DISABLED;
|
|
|
|
+ memset(sdata->u.sta.bssid, 0, ETH_ALEN);
|
|
del_timer_sync(&sdata->u.sta.timer);
|
|
del_timer_sync(&sdata->u.sta.timer);
|
|
/*
|
|
/*
|
|
* When we get here, the interface is marked down.
|
|
* When we get here, the interface is marked down.
|