summaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_iface.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-09-26 15:19:50 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 16:53:17 -0700
commitb4010e08907bdafe8bf4a3fe7ef9b52ddec4dda5 (patch)
tree10651fb231ff00dac4735d14079e8e241d44c6ce /net/mac80211/ieee80211_iface.c
parent51617f0b76389b29740aa9d7736df99b75d1d9ec (diff)
downloadlinux-b4010e08907bdafe8bf4a3fe7ef9b52ddec4dda5.tar.bz2
[PATCH] mac80211: remove generic IE for AP interfaces
This is not useful since we do not support probe response offload to hardware at this time and beacons are set in another way. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ieee80211_iface.c')
-rw-r--r--net/mac80211/ieee80211_iface.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_iface.c b/net/mac80211/ieee80211_iface.c
index 60cee6e602d2..08c1e188d4b8 100644
--- a/net/mac80211/ieee80211_iface.c
+++ b/net/mac80211/ieee80211_iface.c
@@ -269,7 +269,6 @@ void ieee80211_if_reinit(struct net_device *dev)
kfree(sdata->u.ap.beacon_head);
kfree(sdata->u.ap.beacon_tail);
- kfree(sdata->u.ap.generic_elem);
while ((skb = skb_dequeue(&sdata->u.ap.ps_bc_buf))) {
local->total_ps_buffered--;