]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdb609227ff5871b2b4d61fdb8ae8435600ca5fa7
treeb34dde0a02d80f75a236be89f78c69cd059a635b
parent752dd2c5892d036312f70657a6ccbdf39e187d59
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