diff options
author | David S. Miller <davem@davemloft.net> | 2008-06-10 05:22:26 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-06-10 05:22:26 -0400 |
commit | 65b53e4cc90e59936733b3b95b9451d2ca47528d (patch) | |
tree | 29932718192962671c48c3fd1ea017a6112459e8 /net/mac80211/main.c | |
parent | 788c0a53164c05c5ccdb1472474372b72ba74644 (diff) | |
parent | 2e761e0532a784816e7e822dbaaece8c5d4be14d (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
drivers/net/tg3.c
drivers/net/wireless/rt2x00/rt2x00dev.c
net/mac80211/ieee80211_i.h
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r-- | net/mac80211/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index f79f6b9938a6..b182f018a187 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c | |||
@@ -516,6 +516,7 @@ static int ieee80211_stop(struct net_device *dev) | |||
516 | case IEEE80211_IF_TYPE_STA: | 516 | case IEEE80211_IF_TYPE_STA: |
517 | case IEEE80211_IF_TYPE_IBSS: | 517 | case IEEE80211_IF_TYPE_IBSS: |
518 | sdata->u.sta.state = IEEE80211_DISABLED; | 518 | sdata->u.sta.state = IEEE80211_DISABLED; |
519 | memset(sdata->u.sta.bssid, 0, ETH_ALEN); | ||
519 | del_timer_sync(&sdata->u.sta.timer); | 520 | del_timer_sync(&sdata->u.sta.timer); |
520 | /* | 521 | /* |
521 | * When we get here, the interface is marked down. | 522 | * When we get here, the interface is marked down. |
@@ -1314,7 +1315,7 @@ static void ieee80211_handle_filtered_frame(struct ieee80211_local *local, | |||
1314 | /* | 1315 | /* |
1315 | * Clear the TX filter mask for this STA when sending the next | 1316 | * Clear the TX filter mask for this STA when sending the next |
1316 | * packet. If the STA went to power save mode, this will happen | 1317 | * packet. If the STA went to power save mode, this will happen |
1317 | * happen when it wakes up for the next time. | 1318 | * when it wakes up for the next time. |
1318 | */ | 1319 | */ |
1319 | set_sta_flags(sta, WLAN_STA_CLEAR_PS_FILT); | 1320 | set_sta_flags(sta, WLAN_STA_CLEAR_PS_FILT); |
1320 | 1321 | ||