OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38dad7b
)
ath9k: call ath9k_hw_set_desc_link for beacon descriptors
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 14 Sep 2011 19:24:19 +0000
(21:24 +0200)
committer
John W. Linville
<linville@tuxdriver.com>
Fri, 16 Sep 2011 20:45:38 +0000
(16:45 -0400)
This ensures that only ath9k_hw_set_desc_link needs to recalculate the tx
descriptor checksum on AR9380+
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/beacon.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath9k/beacon.c
b/drivers/net/wireless/ath/ath9k/beacon.c
index
6d7088b
..
b97d01d
100644
(file)
--- a/
drivers/net/wireless/ath/ath9k/beacon.c
+++ b/
drivers/net/wireless/ath/ath9k/beacon.c
@@
-111,6
+111,7
@@
static void ath_beacon_setup(struct ath_softc *sc, struct ath_vif *avp,
series[0].RateFlags = (ctsrate) ? ATH9K_RATESERIES_RTS_CTS : 0;
ath9k_hw_set11n_ratescenario(ah, ds, ds, 0, ctsrate, ctsduration,
series, 4, 0);
+ ath9k_hw_set_desc_link(ah, ds, 0);
}
static void ath_tx_cabq(struct ieee80211_hw *hw, struct sk_buff *skb)