mac80211: don't claim iwspy support
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 19 May 2008 05:18:10 +0000 (07:18 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 20 May 2008 21:55:30 +0000 (17:55 -0400)
We removed iwspy support a very long time ago because it is useless, but
forgot to stop claiming to support it. Apparently, nobody cares, but
remove it nonetheless.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/wext.c

index 76e1de1..457ebf9 100644 (file)
@@ -209,7 +209,6 @@ static int ieee80211_ioctl_giwrange(struct net_device *dev,
        range->num_frequency = c;
 
        IW_EVENT_CAPA_SET_KERNEL(range->event_capa);
-       IW_EVENT_CAPA_SET(range->event_capa, SIOCGIWTHRSPY);
        IW_EVENT_CAPA_SET(range->event_capa, SIOCGIWAP);
        IW_EVENT_CAPA_SET(range->event_capa, SIOCGIWSCAN);