wl1251: fix channel switching in monitor mode
authorDavid Gnedt <david.gnedt@davizone.at>
Tue, 7 Jan 2014 12:09:42 +0000 (13:09 +0100)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 18 Apr 2014 23:45:41 +0000 (02:45 +0300)
commit3c53a9ed0901140ad43487de6e8536dd7d27b838
tree0beeb592c2ebc3ad48555b55018849a7bb62e9fc
parentddce323b6e323ae45f58369069e072ce4316a97e
wl1251: fix channel switching in monitor mode

Use the ENABLE_RX command for channel switching when no interface is present
(monitor mode only).
The advantage of ENABLE_RX is that it leaves the tx data path disabled in
firmware, whereas the usual JOIN command seems to transmit some frames at
firmware level.

Signed-off-by: David Gnedt <david.gnedt@davizone.at>
Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl1251/main.c