X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fmac80211%2Fmain.c;h=98c0b5e56ecc02e50a754dd0b77303dac9b6160c;hb=5a58d4bb66b1d68e4b9319dd5b89078bad2a7f64;hp=5c876450b14cf569e76582919489ab6a992c4621;hpb=2d9b57fbec9fde4deea3686f3927204efa218c7f;p=linux-2.6 diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 5c876450b1..98c0b5e56e 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c @@ -511,6 +511,7 @@ static int ieee80211_stop(struct net_device *dev) case IEEE80211_IF_TYPE_STA: case IEEE80211_IF_TYPE_IBSS: sdata->u.sta.state = IEEE80211_DISABLED; + memset(sdata->u.sta.bssid, 0, ETH_ALEN); del_timer_sync(&sdata->u.sta.timer); /* * When we get here, the interface is marked down.