aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2800lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2800lib.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2800lib.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800lib.c b/drivers/net/wireless/rt2x00/rt2800lib.c
index e94f1e13fea9..fcd0c88d5f04 100644
--- a/drivers/net/wireless/rt2x00/rt2800lib.c
+++ b/drivers/net/wireless/rt2x00/rt2800lib.c
@@ -2072,7 +2072,11 @@ int rt2800_probe_hw_mode(struct rt2x00_dev *rt2x00dev)
2072 /* 2072 /*
2073 * Initialize HT information. 2073 * Initialize HT information.
2074 */ 2074 */
2075 spec->ht.ht_supported = true; 2075 if (!rt2x00_rf(chip, RF2020))
2076 spec->ht.ht_supported = true;
2077 else
2078 spec->ht.ht_supported = false;
2079
2076 spec->ht.cap = 2080 spec->ht.cap =
2077 IEEE80211_HT_CAP_SUP_WIDTH_20_40 | 2081 IEEE80211_HT_CAP_SUP_WIDTH_20_40 |
2078 IEEE80211_HT_CAP_GRN_FLD | 2082 IEEE80211_HT_CAP_GRN_FLD |