[PATCH] mac80211: don't allow scanning in monitor mode
authorDaniel Drake <dsd@gentoo.org>
Fri, 27 Jul 2007 13:43:24 +0000 (15:43 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 6 Aug 2007 19:39:15 +0000 (15:39 -0400)
commitf27b62d3e7ecca42a75f1c5d3cc225539301ba6d
tree0b12e8c0b11c0f77ea1bff3e11b6cc4dc7a7f7b7
parentba9b07d08b7e512535c6fcfcc2cf470f3dd58b8d
[PATCH] mac80211: don't allow scanning in monitor mode

zd1211rw gets confused when the user asks for a scan when the device is
in monitor mode. This patch tightens up the SIWSCAN handler to deny the scan
under these conditions.

Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: Jiri Benc <jbenc@suse.cz>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ieee80211_ioctl.c