aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_ioctl.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-09-26 09:19:50 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:53:17 -0400
commitb4010e08907bdafe8bf4a3fe7ef9b52ddec4dda5 (patch)
tree10651fb231ff00dac4735d14079e8e241d44c6ce /net/mac80211/ieee80211_ioctl.c
parent51617f0b76389b29740aa9d7736df99b75d1d9ec (diff)
[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_ioctl.c')
-rw-r--r--net/mac80211/ieee80211_ioctl.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/net/mac80211/ieee80211_ioctl.c b/net/mac80211/ieee80211_ioctl.c
index 3c324c3bcd9c..48e68434b38a 100644
--- a/net/mac80211/ieee80211_ioctl.c
+++ b/net/mac80211/ieee80211_ioctl.c
@@ -120,15 +120,6 @@ static int ieee80211_ioctl_siwgenie(struct net_device *dev,
120 return 0; 120 return 0;
121 } 121 }
122 122
123 if (sdata->type == IEEE80211_IF_TYPE_AP) {
124 kfree(sdata->u.ap.generic_elem);
125 sdata->u.ap.generic_elem = kmalloc(data->length, GFP_KERNEL);
126 if (!sdata->u.ap.generic_elem)
127 return -ENOMEM;
128 memcpy(sdata->u.ap.generic_elem, extra, data->length);
129 sdata->u.ap.generic_elem_len = data->length;
130 return ieee80211_if_config(dev);
131 }
132 return -EOPNOTSUPP; 123 return -EOPNOTSUPP;
133} 124}
134 125