]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Fix regression on queue stop during 2040 bss change
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Fri, 16 Sep 2011 10:02:34 +0000 (15:32 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 19 Sep 2011 20:10:11 +0000 (16:10 -0400)
commitaab5c305dedbb1a298783a508d26d13fe8bcfb58
tree9c3822fd74a78a110bc390b4fe1101d12f5fd22a
parent0527f20056cb082ebc5c594d72f2e0b5fabf5368
mac80211: Fix regression on queue stop during 2040 bss change

The commit "mac80211: stop tx before doing hw config and
rate update" stops the tx queue and call drv_flush so frequently
whenever a beacon got received with 11n htcap. This leads to
massive "Failed to stop TX DMA" logspam on embedded hw. So the
queue stop and flush should be called if and only if there is a
change in the channel type.

Reported-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c