]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Sep 2010 20:36:16 +0000 (13:36 -0700)
commitf8d958a95ec0f26ff05bdc75f24887203e701826
tree21ccee5639662993a9628693b59dfd5336ec574d
parent58b29725e5bd74da734c6f3fd1eac934a8fed73e
ath9k_htc: Fix disconnect issue in HT40 mode.

commit 71ba186c123630ddab17667ec9ecf7e2ef211295 upstream.

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.

Signed-off-by: Vivek Natarajan <vnatarajan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/ath/ath9k/htc_drv_main.c