This is now unused in hostapd/wpa_supplicant, it uses SIOCSIWGENIE. Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> --- net/mac80211/hostapd_ioctl.h | 5 ----- net/mac80211/ieee80211_ioctl.c | 20 -------------------- 2 files changed, 25 deletions(-) --- wireless-dev.orig/net/mac80211/hostapd_ioctl.h 2007-08-14 00:27:30.935589257 +0200 +++ wireless-dev/net/mac80211/hostapd_ioctl.h 2007-08-14 00:27:31.475589257 +0200 @@ -61,7 +61,6 @@ enum { PRISM2_HOSTAPD_ADD_IF = 1006, PRISM2_HOSTAPD_REMOVE_IF = 1007, PRISM2_HOSTAPD_SET_STA_VLAN = 1010, - PRISM2_HOSTAPD_SET_GENERIC_INFO_ELEM = 1011, PRISM2_HOSTAPD_SET_CHANNEL_FLAG = 1012, PRISM2_HOSTAPD_SET_REGULATORY_DOMAIN = 1013, PRISM2_HOSTAPD_SET_TX_QUEUE_PARAMS = 1014, @@ -152,10 +151,6 @@ struct prism2_hostapd_param { int vlan_id; } set_sta_vlan; struct { - u8 len; - u8 data[0] ALIGNED; - } set_generic_info_elem; - struct { u16 mode; /* MODE_* */ u16 chan; u32 flag; --- wireless-dev.orig/net/mac80211/ieee80211_ioctl.c 2007-08-14 00:27:30.345589257 +0200 +++ wireless-dev/net/mac80211/ieee80211_ioctl.c 2007-08-14 00:27:31.475589257 +0200 @@ -1028,22 +1028,6 @@ static int ieee80211_set_gen_ie(struct n } -static int -ieee80211_ioctl_set_generic_info_elem(struct net_device *dev, - struct prism2_hostapd_param *param, - int param_len) -{ - u8 *pos = param->u.set_generic_info_elem.data; - int left = param_len - ((u8 *) pos - (u8 *) param); - int len = param->u.set_generic_info_elem.len; - - if (left < len) - return -EINVAL; - - return ieee80211_set_gen_ie(dev, pos, len); -} - - static int ieee80211_ioctl_set_regulatory_domain(struct net_device *dev, struct prism2_hostapd_param *param) { @@ -1176,10 +1160,6 @@ static int ieee80211_ioctl_priv_hostapd( case PRISM2_HOSTAPD_SET_STA_VLAN: ret = ieee80211_ioctl_set_sta_vlan(dev, param); break; - case PRISM2_HOSTAPD_SET_GENERIC_INFO_ELEM: - ret = ieee80211_ioctl_set_generic_info_elem(dev, param, - p->length); - break; case PRISM2_HOSTAPD_SET_CHANNEL_FLAG: ret = ieee80211_ioctl_set_channel_flag(dev, param); break; -- - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html