diff options
author | Daniel Drake <dsd@gentoo.org> | 2006-05-01 17:23:27 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2006-05-05 17:10:39 -0400 |
commit | 6d92f83ffafe8e2ce105c3ec5696c62d6fcebcee (patch) | |
tree | 7d82f1380f10ac3b4f042f4953c65e5e284e5acf /net/ieee80211/softmac/ieee80211softmac_priv.h | |
parent | 0c6157a371f72b91bd9d2f72c2e65e2bde4cdf39 (diff) |
[PATCH] softmac: deauthentication implies deassociation
The 802.11 specs state that deauthenticating also implies
disassociating. This patch implements that, which improve the behaviour
of SIOCSIWMLME.
Signed-off-by: Daniel Drake <dsd@gentoo.org>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/ieee80211/softmac/ieee80211softmac_priv.h')
-rw-r--r-- | net/ieee80211/softmac/ieee80211softmac_priv.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ieee80211/softmac/ieee80211softmac_priv.h b/net/ieee80211/softmac/ieee80211softmac_priv.h index 8c95b3abe0cc..5de0abf157e3 100644 --- a/net/ieee80211/softmac/ieee80211softmac_priv.h +++ b/net/ieee80211/softmac/ieee80211softmac_priv.h | |||
@@ -150,7 +150,8 @@ int ieee80211softmac_handle_disassoc(struct net_device * dev, | |||
150 | int ieee80211softmac_handle_reassoc_req(struct net_device * dev, | 150 | int ieee80211softmac_handle_reassoc_req(struct net_device * dev, |
151 | struct ieee80211_reassoc_request * reassoc); | 151 | struct ieee80211_reassoc_request * reassoc); |
152 | void ieee80211softmac_assoc_timeout(void *d); | 152 | void ieee80211softmac_assoc_timeout(void *d); |
153 | void ieee80211softmac_disassoc(struct ieee80211softmac_device *mac, u16 reason); | 153 | void ieee80211softmac_send_disassoc_req(struct ieee80211softmac_device *mac, u16 reason); |
154 | void ieee80211softmac_disassoc(struct ieee80211softmac_device *mac); | ||
154 | 155 | ||
155 | /* some helper functions */ | 156 | /* some helper functions */ |
156 | static inline int ieee80211softmac_scan_handlers_check_self(struct ieee80211softmac_device *sm) | 157 | static inline int ieee80211softmac_scan_handlers_check_self(struct ieee80211softmac_device *sm) |