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:
075cbc9
)
ath9k: Check if the STA supports HT when initializing rate control
author
Sujith
<Sujith.Manoharan@atheros.com>
Thu, 23 Oct 2008 06:45:19 +0000
(12:15 +0530)
committer
John W. Linville
<linville@tuxdriver.com>
Fri, 31 Oct 2008 23:00:55 +0000
(19:00 -0400)
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/rc.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath9k/rc.c
b/drivers/net/wireless/ath9k/rc.c
index 9ce535915a1a3bf400d6658ab901adb0e5517021..ecffd6f45fd013cac976e6becd8e22639464dfc8 100644
(file)
--- a/
drivers/net/wireless/ath9k/rc.c
+++ b/
drivers/net/wireless/ath9k/rc.c
@@
-2026,7
+2026,7
@@
static void ath_rate_init(void *priv, struct ieee80211_supported_band *sband,
DPRINTF(sc, ATH_DBG_RATE, "%s\n", __func__);
ath_setup_rates(sc, sband, sta, ath_rc_priv);
- if (s
c->hw->conf.ht.enabl
ed) {
+ if (s
ta->ht_cap.ht_support
ed) {
for (i = 0; i < 77; i++) {
if (sta->ht_cap.mcs.rx_mask[i/8] & (1<<(i%8)))
ath_rc_priv->neg_ht_rates.rs_rates[j++] = i;