ath9k: Fix bug in handling single stream stations
authorSujith <Sujith.Manoharan@atheros.com>
Fri, 13 Mar 2009 03:26:11 +0000 (08:56 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Mar 2009 00:12:51 +0000 (20:12 -0400)
commitc2da50e5837f92c9f16a611efd1bb0754036691b
tree548317dc4f79cac5be90ab36b068f0ffe2e7cbdd
parent95e4acb7331722236b9f11492ae2e96473210ebc
ath9k: Fix bug in handling single stream stations

AP mode currently sets up the dual stream capability
for all stations. This patch fixes it by checking if the
associated station supports dual stream MCS rates (8-15).
We would disregard any MCS rates above 15, since Atheros
HW supports only 0..15 rates currently, and can't receive
at rates > 15 anyway.

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