aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-08-07 08:51:05 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-08-14 09:13:43 -0400
commitf401a6f7ede753e56b84025e7d2db0d5ef560ce6 (patch)
tree12b077096234ba0f990c637665d11e0afa608b17 /include/net/cfg80211.h
parent59bbb6f7574bc693ed8313b98eac641116c95b94 (diff)
cfg80211: use reassociation when possible
With the move of everything related to the SME from mac80211 to cfg80211, we lost the ability to send reassociation frames. This adds them back, but only for wireless extensions. With the userspace SME, it shall control assoc vs. reassoc (it already can do so with the nl80211 interface). I haven't touched the connect() implementation, so it is not possible to reassociate with the nl80211 connect primitive. I think that should be done with the NL80211_CMD_ROAM command, but we'll have to see how that can be handled in the future, especially with fullmac chips. This patch addresses only the immediate regression we had in mac80211, which previously sent reassoc. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r--include/net/cfg80211.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 64df51d9a89f..1ee30fcd6fdc 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -1335,10 +1335,10 @@ struct wireless_dev {
1335 struct cfg80211_cached_keys *keys; 1335 struct cfg80211_cached_keys *keys;
1336 u8 *ie; 1336 u8 *ie;
1337 size_t ie_len; 1337 size_t ie_len;
1338 u8 bssid[ETH_ALEN]; 1338 u8 bssid[ETH_ALEN], prev_bssid[ETH_ALEN];
1339 u8 ssid[IEEE80211_MAX_SSID_LEN]; 1339 u8 ssid[IEEE80211_MAX_SSID_LEN];
1340 s8 default_key, default_mgmt_key; 1340 s8 default_key, default_mgmt_key;
1341 bool ps; 1341 bool ps, prev_bssid_valid;
1342 int ps_timeout; 1342 int ps_timeout;
1343 } wext; 1343 } wext;
1344#endif 1344#endif