]> git.karo-electronics.de Git - linux-beck.git/commit
ath9k: Fix HW scan abort
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Fri, 17 Oct 2014 02:10:28 +0000 (07:40 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 27 Oct 2014 18:16:17 +0000 (14:16 -0400)
commit23aab0c25fb1b481ae28a816e0388a3515a8c9df
tree31e7b5a22b3e8a704a4c992509ce5093871031ca
parent0a019a58e3c830cd4505ae791e1d38952b001afe
ath9k: Fix HW scan abort

Instead of using ATH_CHANCTX_EVENT_ASSIGN to abort
a HW scan when a new interface becomes active, use the
mgd_prepare_tx() callback. This allows us to make
sure that the GO's channel becomes operational by
using flush_work().

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/channel.c
drivers/net/wireless/ath/ath9k/main.c