ath5k: fix missing output in monitor mode after ifconfig up
authorJoerg Albert <jal2@gmx.de>
Tue, 4 Aug 2009 23:52:07 +0000 (01:52 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 14 Aug 2009 13:12:39 +0000 (09:12 -0400)
commite30eb4ab45211c2f27b6bb9b29124ac431e01ce9
treebc20d4f62a07d7b594bfb356256cbdfd19213238
parentc458bc50e31631f7e9333ea6f1832fc54d4e2c1e
ath5k: fix missing output in monitor mode after ifconfig up

Let ath5k_chan_set() always call ath5k_reset().
This fixes the bug that we don't
get any packets in monitor mode after:

ifconfig wlan0 down
iwconfig wlan0 mode monitor channel 1
ifconfig wlan0 up

but they arrive after

iwconfig wlan0 channel 2

Signed-off-by: Joerg Albert <jal2@gmx.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/base.c