* [PATCH] mac80211: don't read ERP information from (re)association response
@ 2007-12-19 22:38 Johannes Berg
0 siblings, 0 replies; only message in thread
From: Johannes Berg @ 2007-12-19 22:38 UTC (permalink / raw)
To: John Linville; +Cc: Daniel Drake, linux-wireless
According to the standard, the field cannot be present, so don't
try to interpret it either.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: Daniel Drake <dsd@gentoo.org>
---
net/mac80211/ieee80211_sta.c | 14 --------------
1 file changed, 14 deletions(-)
--- everything.orig/net/mac80211/ieee80211_sta.c 2007-12-19 23:33:24.662384223 +0100
+++ everything/net/mac80211/ieee80211_sta.c 2007-12-19 23:33:57.072368273 +0100
@@ -1371,20 +1371,6 @@ static void ieee80211_rx_mgmt_assoc_resp
return;
}
- /* it probably doesn't, but if the frame includes an ERP value then
- * update our stored copy */
- if (elems.erp_info && elems.erp_info_len >= 1) {
- struct ieee80211_sta_bss *bss
- = ieee80211_rx_bss_get(dev, ifsta->bssid,
- local->hw.conf.channel,
- ifsta->ssid, ifsta->ssid_len);
- if (bss) {
- bss->erp_value = elems.erp_info[0];
- bss->has_erp_value = 1;
- ieee80211_rx_bss_put(dev, bss);
- }
- }
-
printk(KERN_DEBUG "%s: associated\n", dev->name);
ifsta->aid = aid;
ifsta->ap_capab = capab_info;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-12-20 10:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-19 22:38 [PATCH] mac80211: don't read ERP information from (re)association response Johannes Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox