wl1251: fix channel switching in monitor mode
authorDavid Gnedt <david.gnedt@davizone.at>
Sun, 30 Jan 2011 19:11:21 +0000 (20:11 +0100)
committerGrazvydas Ignotas <notasas@gmail.com>
Sat, 5 Mar 2011 21:18:00 +0000 (23:18 +0200)
commitfd04b4023b06eb70ab0db22e1c46924300c8320f
tree1191e4273618fe0aae2ddb24896c4e622cd75950
parent28c2385228e76410fe4649053bcdac37de891ae1
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>
drivers/net/wireless/wl12xx/wl1251_main.c