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-21 14:40:10.365923881 +0200 +++ wireless-dev/net/mac80211/hostapd_ioctl.h 2007-08-21 14:40:10.985923881 +0200 @@ -84,7 +84,6 @@ enum { PRISM2_HOSTAPD_GET_DOT11COUNTERSTABLE = 1008, PRISM2_HOSTAPD_GET_LOAD_STATS = 1009, 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, @@ -199,10 +198,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-21 14:40:10.375923881 +0200 +++ wireless-dev/net/mac80211/ieee80211_ioctl.c 2007-08-21 14:40:10.985923881 +0200 @@ -1131,22 +1131,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) { @@ -1338,10 +1322,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