ath9k: Fix bug in ANI channel handling
authorSujith <Sujith.Manoharan@atheros.com>
Fri, 11 Sep 2009 03:00:03 +0000 (08:30 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 23 Sep 2009 15:35:39 +0000 (11:35 -0400)
commit10a01bfd4e077ff03a4ace76a6d9b81272f91678
tree2141f5496208da7472b090bd93833cbc8351aebe
parent5ab9549a64c77b6975b079b27e95fc2c115f613b
ath9k: Fix bug in ANI channel handling

When processing MIB interrupts, OFDM and CCK error
handling routines for low RSSI values have to be invoked
only when the channel mode is 11G/11B. Since HT channels
will also fall under the bands 2Ghz/5Ghz, check appropriately.

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