]> 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)
commitd620795af9b736bd8dd420542d11bcf983d5d3d6
tree9c3822fd74a78a110bc390b4fe1101d12f5fd22a
parentd718af24086f6bf7f1fc8071779d93d0f6170c32
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