]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ath9k_htc: Fix disconnect issue in HT40 mode.
authorVivek Natarajan <vnatarajan@atheros.com>
Thu, 12 Aug 2010 08:53:28 +0000 (14:23 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 13 Aug 2010 17:46:19 +0000 (13:46 -0400)
commit71ba186c123630ddab17667ec9ecf7e2ef211295
treeb5407869aa8d4b55751cc59bc85ef9882ff952b0
parentda93f10684bfba2983a70c10b5d417232b6a5245
ath9k_htc: Fix disconnect issue in HT40 mode.

Some APs advertise that they may be HT40 capable in the capabilites
but the current operating channel configuration may be only HT20.
This causes disconnection as ath9k_htc sets WLAN_RC_40_FLAG despite
the AP operating in HT20 mode.
Hence set this flag only if the current channel configuration
is HT40 enabled.

Cc: stable@kernel.org
Signed-off-by: Vivek Natarajan <vnatarajan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/htc_drv_main.c