aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/ath/ath9k/rc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath9k/rc.c b/drivers/net/wireless/ath/ath9k/rc.c
index a07efa22551e..59ad47c98897 100644
--- a/drivers/net/wireless/ath/ath9k/rc.c
+++ b/drivers/net/wireless/ath/ath9k/rc.c
@@ -44,7 +44,7 @@ static const struct ath_rate_table ar5416_11na_ratetable = {
44 { VALID, VALID, WLAN_RC_PHY_OFDM, 54000, /* 54 Mb */ 44 { VALID, VALID, WLAN_RC_PHY_OFDM, 54000, /* 54 Mb */
45 29300, 0x0c, 0x00, 108, 45 29300, 0x0c, 0x00, 108,
46 4, 7, 7, 7, 7, 0 }, 46 4, 7, 7, 7, 7, 0 },
47 { VALID_20, VALID_20, WLAN_RC_PHY_HT_20_SS, 6500, /* 6.5 Mb */ 47 { VALID_2040, VALID_2040, WLAN_RC_PHY_HT_20_SS, 6500, /* 6.5 Mb */
48 6400, 0x80, 0x00, 0, 48 6400, 0x80, 0x00, 0,
49 0, 8, 24, 8, 24, 3216 }, 49 0, 8, 24, 8, 24, 3216 },
50 { VALID_20, VALID_20, WLAN_RC_PHY_HT_20_SS, 13000, /* 13 Mb */ 50 { VALID_20, VALID_20, WLAN_RC_PHY_HT_20_SS, 13000, /* 13 Mb */
@@ -463,8 +463,6 @@ static int ath_rc_valid_phyrate(u32 phy, u32 capflag, int ignore_cw)
463 if (!ignore_cw && WLAN_RC_PHY_HT(phy)) 463 if (!ignore_cw && WLAN_RC_PHY_HT(phy))
464 if (WLAN_RC_PHY_40(phy) && !(capflag & WLAN_RC_40_FLAG)) 464 if (WLAN_RC_PHY_40(phy) && !(capflag & WLAN_RC_40_FLAG))
465 return 0; 465 return 0;
466 if (!WLAN_RC_PHY_40(phy) && (capflag & WLAN_RC_40_FLAG))
467 return 0;
468 return 1; 466 return 1;
469} 467}
470 468