]> err.no Git - linux-2.6/commitdiff
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 76e1de1dc735d959e62527132bad490a3e005513..457ebf9e85ae6dcfd9bf40313a888c882feebee5 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);