ath9k: Fix bug in deciphering channel flags
authorSujith <Sujith.Manoharan@atheros.com>
Tue, 18 Nov 2008 03:39:54 +0000 (09:09 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 26 Nov 2008 14:47:33 +0000 (09:47 -0500)
commit788a3d6f3df595a6537ef537433c870d090afe02
treeb34dde0a02d80f75a236be89f78c69cd059a635b
parentc428839008f6638317a0db102d4e65d631c288a6
ath9k: Fix bug in deciphering channel flags

CHANNEL_CCK flag is set for all 2 Ghz channels, so IS_CHAN_CCK() would
turn out to be true for all channles in that band.
Use IS_CHAN_B() now, which checks the channel mode and not the channel
flags.

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