]> 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)
commit4ee65070eccb2a3a7bf47133bfe67ddf178531a1
treeedc1651fe9e9ea589399ad6bddda48cfabce1c0f
parent3090f9defd881ce051f6477247b76258a9eb69ad
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