ath9k: Use proper TX channel width for setting channels
commit99405f930fda280c9114b15e178902cd204f967f
authorSujith <Sujith.Manoharan@atheros.com>
Mon, 24 Nov 2008 06:38:35 +0000 (24 12:08 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 26 Nov 2008 14:47:49 +0000 (26 09:47 -0500)
treed7950d3aa154803280c091b3c5331a7ca96c8678
parentff37e337beb838d4c2540fa93b2c4c632ee17750
ath9k: Use proper TX channel width for setting channels

The TX channel width of the BSS can be obtained only after association.
In all cases, default to HT20 if HT is enabled, and set
chan width to HT40 only if the BSS supports it.

Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/core.h
drivers/net/wireless/ath9k/hw.c
drivers/net/wireless/ath9k/main.c
drivers/net/wireless/ath9k/xmit.c