]> git.karo-electronics.de Git - linux-beck.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)
commite2cba8d7590e76661e86f1f0987ef9f8c13c9a6d
treeedc1651fe9e9ea589399ad6bddda48cfabce1c0f
parent5ba8d9d2f018f2c4e23f9e68b90ca5b9d5470457
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