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>
This commit is contained in:
committed by
John W. Linville
parent
3e5d7649a6
commit
a7c1cfc961
@ -879,7 +879,6 @@ static void ieee80211_set_associated(struct ieee80211_sub_if_data *sdata,
|
||||
ieee80211_rx_bss_put(local, bss);
|
||||
}
|
||||
|
||||
ifmgd->last_probe = jiffies;
|
||||
ieee80211_led_assoc(local, 1);
|
||||
|
||||
sdata->vif.bss_conf.assoc = 1;
|
||||
@ -1488,7 +1487,6 @@ static void ieee80211_rx_mgmt_assoc_resp(struct ieee80211_sub_if_data *sdata,
|
||||
|
||||
printk(KERN_DEBUG "%s: associated\n", sdata->dev->name);
|
||||
ifmgd->aid = aid;
|
||||
ifmgd->ap_capab = capab_info;
|
||||
|
||||
kfree(ifmgd->assocresp_ies);
|
||||
ifmgd->assocresp_ies_len = len - (pos - (u8 *) mgmt);
|
||||
|
Reference in New Issue
Block a user