ath9k: Fix bug in determining HT40 mode
commitf5c38ef06e005705ef87b7a77752c183bacb94cc
authorSujith <Sujith.Manoharan@atheros.com>
Mon, 30 Mar 2009 09:58:57 +0000 (30 15:28 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Apr 2009 20:54:35 +0000 (22 16:54 -0400)
tree3aa441c7278b5986ac2bd8842196b4a18e4b7989
parentc6483cfe7147534719197c03a99848f49e004308
ath9k: Fix bug in determining HT40 mode

This patch fixes a bug in checking for HT40 mode.
The STA's mode can be determined from the cached HT capabilities,
use that and remove the redundant variable 'rc_phy_mode'.

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