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)
commit7cc44ed48d0ec0937c1f098642540b6c9ca38de5
tree9c3822fd74a78a110bc390b4fe1101d12f5fd22a
parent143bb15de5ea904195d8e52cca7e2edbf5b31159
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