diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2008-08-06 07:22:01 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-08-22 16:29:59 -0400 |
commit | 48c2fc59aa415ba92be0ad3a7e741c46883e3944 (patch) | |
tree | 967378bd9431e43bff88f0070acf9380f48729b5 /net/mac80211/main.c | |
parent | 06303352d3de02a371ccaec1366a92db5e1d7c30 (diff) |
mac80211: cleanup mlme state namespace
This patch move add STA_MLME to station mlme state defines.
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r-- | net/mac80211/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 819639486653..398ca66bdfcb 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c | |||
@@ -539,7 +539,7 @@ static int ieee80211_stop(struct net_device *dev) | |||
539 | /* fall through */ | 539 | /* fall through */ |
540 | case IEEE80211_IF_TYPE_STA: | 540 | case IEEE80211_IF_TYPE_STA: |
541 | case IEEE80211_IF_TYPE_IBSS: | 541 | case IEEE80211_IF_TYPE_IBSS: |
542 | sdata->u.sta.state = IEEE80211_DISABLED; | 542 | sdata->u.sta.state = IEEE80211_STA_MLME_DISABLED; |
543 | memset(sdata->u.sta.bssid, 0, ETH_ALEN); | 543 | memset(sdata->u.sta.bssid, 0, ETH_ALEN); |
544 | del_timer_sync(&sdata->u.sta.timer); | 544 | del_timer_sync(&sdata->u.sta.timer); |
545 | /* | 545 | /* |