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>
Mon, 14 Sep 2009 18:36:03 +0000 (14:36 -0400)
commitd37b7da39dbac8197e41a5f9c8162730f6b36d8b
tree34f9dc2444136bf56796522b2e8604e125faf3a8
parent32f6afd82c1c4e9415db9f8d18e3fd6fc65cfd46
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