aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2015-10-21 17:53:20 -0400
committerKalle Valo <kvalo@qca.qualcomm.com>2015-10-29 07:06:54 -0400
commit7fd98524560cac3a629aa1130d45260d4469d254 (patch)
treec8c1d62984100312715d346b82e714b696e19f24
parent9c2e90ffc97a8f45b98d81345d8f2eff192d09ef (diff)
ath6kl: add error message to explain lack of HT
It can take a user a while to understand why their NIC that advertises 802.11n support cannot actually do 802.11n. Print out a warning in the logs to save the next poor person to use this NIC some trouble. Signed-off-by: Ben Greear <greearb@candelatech.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
-rw-r--r--drivers/net/wireless/ath/ath6kl/cfg80211.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/cfg80211.c b/drivers/net/wireless/ath/ath6kl/cfg80211.c
index 6430ab663e37..7a67e57f55ee 100644
--- a/drivers/net/wireless/ath/ath6kl/cfg80211.c
+++ b/drivers/net/wireless/ath/ath6kl/cfg80211.c
@@ -3796,6 +3796,9 @@ int ath6kl_cfg80211_init(struct ath6kl *ar)
3796 ath6kl_band_2ghz.ht_cap.ht_supported = false; 3796 ath6kl_band_2ghz.ht_cap.ht_supported = false;
3797 ath6kl_band_5ghz.ht_cap.cap = 0; 3797 ath6kl_band_5ghz.ht_cap.cap = 0;
3798 ath6kl_band_5ghz.ht_cap.ht_supported = false; 3798 ath6kl_band_5ghz.ht_cap.ht_supported = false;
3799
3800 if (ht)
3801 ath6kl_err("Firmware lacks RSN-CAP-OVERRIDE, so HT (802.11n) is disabled.");
3799 } 3802 }
3800 3803
3801 if (test_bit(ATH6KL_FW_CAPABILITY_64BIT_RATES, 3804 if (test_bit(ATH6KL_FW_CAPABILITY_64BIT_RATES,