aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/mlme.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-07-06 21:45:16 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-07-10 15:02:30 -0400
commita7c1cfc9616ee76213a6d4fd4c17f13fdc92ddce (patch)
tree90ddc3aac3a7929479852aae8f3e89b3fa9008a8 /net/mac80211/mlme.c
parent3e5d7649a64e558e4146ddfad4dfcf13fc65dd47 (diff)
mac80211: remove dead code from mlme
The ap_capab and last_probe struct members are unused. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r--net/mac80211/mlme.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index 24486455e505..29575eea3ed1 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -879,7 +879,6 @@ static void ieee80211_set_associated(struct ieee80211_sub_if_data *sdata,
879 ieee80211_rx_bss_put(local, bss); 879 ieee80211_rx_bss_put(local, bss);
880 } 880 }
881 881
882 ifmgd->last_probe = jiffies;
883 ieee80211_led_assoc(local, 1); 882 ieee80211_led_assoc(local, 1);
884 883
885 sdata->vif.bss_conf.assoc = 1; 884 sdata->vif.bss_conf.assoc = 1;
@@ -1488,7 +1487,6 @@ static void ieee80211_rx_mgmt_assoc_resp(struct ieee80211_sub_if_data *sdata,
1488 1487
1489 printk(KERN_DEBUG "%s: associated\n", sdata->dev->name); 1488 printk(KERN_DEBUG "%s: associated\n", sdata->dev->name);
1490 ifmgd->aid = aid; 1489 ifmgd->aid = aid;
1491 ifmgd->ap_capab = capab_info;
1492 1490
1493 kfree(ifmgd->assocresp_ies); 1491 kfree(ifmgd->assocresp_ies);
1494 ifmgd->assocresp_ies_len = len - (pos - (u8 *) mgmt); 1492 ifmgd->assocresp_ies_len = len - (pos - (u8 *) mgmt);