aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/mac80211/ieee80211_sta.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/net/mac80211/ieee80211_sta.c b/net/mac80211/ieee80211_sta.c
index 2e225aecb873..5b8f484c1673 100644
--- a/net/mac80211/ieee80211_sta.c
+++ b/net/mac80211/ieee80211_sta.c
@@ -1371,20 +1371,6 @@ static void ieee80211_rx_mgmt_assoc_resp(struct net_device *dev,
1371 return; 1371 return;
1372 } 1372 }
1373 1373
1374 /* it probably doesn't, but if the frame includes an ERP value then
1375 * update our stored copy */
1376 if (elems.erp_info && elems.erp_info_len >= 1) {
1377 struct ieee80211_sta_bss *bss
1378 = ieee80211_rx_bss_get(dev, ifsta->bssid,
1379 local->hw.conf.channel,
1380 ifsta->ssid, ifsta->ssid_len);
1381 if (bss) {
1382 bss->erp_value = elems.erp_info[0];
1383 bss->has_erp_value = 1;
1384 ieee80211_rx_bss_put(dev, bss);
1385 }
1386 }
1387
1388 printk(KERN_DEBUG "%s: associated\n", dev->name); 1374 printk(KERN_DEBUG "%s: associated\n", dev->name);
1389 ifsta->aid = aid; 1375 ifsta->aid = aid;
1390 ifsta->ap_capab = capab_info; 1376 ifsta->ap_capab = capab_info;