[MAC80211]: only honor IW_SCAN_THIS_ESSID in STA, IBSS, and AP modes
authorJohn W. Linville <linville@tuxdriver.com>
Thu, 18 Oct 2007 04:16:16 +0000 (21:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Oct 2007 04:16:16 +0000 (21:16 -0700)
commitd114f399b4da6fa7f9da3bbf1fb841370c11e788
treeab569d2e02627652791e6953905e59f828652a7b
parentfe537c0ee86b27fbe0690a7869815da80f492dbd
[MAC80211]: only honor IW_SCAN_THIS_ESSID in STA, IBSS, and AP modes

The previous IW_SCAN_THIS_ESSID patch left a hole allowing scan
requests on interfaces in inappropriate modes.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mac80211/ieee80211_ioctl.c