]> git.baikalelectronics.ru Git - kernel.git/commit
wl1251: fix channel switching in monitor mode
authorDavid Gnedt <david.gnedt@davizone.at>
Tue, 7 Jan 2014 12:09:42 +0000 (13:09 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 9 Jan 2014 15:56:07 +0000 (10:56 -0500)
commitee6b85ceb8f8ad2c5b16bf75e46e3221c66ce28b
treedd1a2ee1e3a39de6921d1491074bf3ce16ead4ab
parent37b7c4d822dd461e485a5d8acbed4227ce64dc3a
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/ti/wl1251/main.c