projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b57ba3b
)
ath9k_htc: use ath9k_cmn_reload_chainmask
author
Oleksij Rempel
<
[email protected]
>
Tue, 25 Feb 2014 13:48:56 +0000
(14:48 +0100)
committer
John W. Linville
<
[email protected]
>
Fri, 28 Feb 2014 19:33:16 +0000
(14:33 -0500)
Signed-off-by: Oleksij Rempel <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/ath/ath9k/htc_drv_init.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath9k/htc_drv_init.c
b/drivers/net/wireless/ath/ath9k/htc_drv_init.c
index 5220f4644b1d9a9ad337fef61b76bbe0d9e6966e..a8f30dc448bbf033e6a4638480e87b9d34e04784 100644
(file)
--- a/
drivers/net/wireless/ath/ath9k/htc_drv_init.c
+++ b/
drivers/net/wireless/ath/ath9k/htc_drv_init.c
@@
-616,14
+616,7
@@
static void ath9k_set_hw_capab(struct ath9k_htc_priv *priv,
hw->wiphy->bands[IEEE80211_BAND_5GHZ] =
&common->sbands[IEEE80211_BAND_5GHZ];
- if (priv->ah->caps.hw_caps & ATH9K_HW_CAP_HT) {
- if (priv->ah->caps.hw_caps & ATH9K_HW_CAP_2GHZ)
- ath9k_cmn_setup_ht_cap(ah,
- &common->sbands[IEEE80211_BAND_2GHZ].ht_cap);
- if (priv->ah->caps.hw_caps & ATH9K_HW_CAP_5GHZ)
- ath9k_cmn_setup_ht_cap(ah,
- &common->sbands[IEEE80211_BAND_5GHZ].ht_cap);
- }
+ ath9k_cmn_reload_chainmask(ah);
pBase = ath9k_htc_get_eeprom_base(priv);
if (pBase) {