]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Fix flushing in MCC mode
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Thu, 2 Oct 2014 01:03:20 +0000 (06:33 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 2 Oct 2014 18:26:32 +0000 (14:26 -0400)
commitc1c9d92b91e65a2e5aa2ab267d96caf0290350bb
treeedc1651fe9e9ea589399ad6bddda48cfabce1c0f
parent5160af7d7893d40066853f770c047ccd7cd09f51
ath9k: Fix flushing in MCC mode

When we are attempting to switch to a new
channel context, the TX queues are flushed, but
the mac80211 queues are not stopped and traffic
can still come down to the driver.

This patch fixes it by stopping the queues
assigned to the current context/vif before
trying to flush.

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