diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-09-14 15:24:19 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-09-16 16:45:38 -0400 |
commit | 7a2721a3233d32c958a474f78c20e25c9efa221c (patch) | |
tree | e1ff96e2fa66d61107f7c3d7063bc891436143d2 /drivers | |
parent | 38dad7ba60475618d873fe703e7ef564a963fd1f (diff) |
ath9k: call ath9k_hw_set_desc_link for beacon descriptors
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/beacon.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/beacon.c b/drivers/net/wireless/ath/ath9k/beacon.c index 6d7088b02611..b97d01d2eece 100644 --- 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, | |||
111 | series[0].RateFlags = (ctsrate) ? ATH9K_RATESERIES_RTS_CTS : 0; | 111 | series[0].RateFlags = (ctsrate) ? ATH9K_RATESERIES_RTS_CTS : 0; |
112 | ath9k_hw_set11n_ratescenario(ah, ds, ds, 0, ctsrate, ctsduration, | 112 | ath9k_hw_set11n_ratescenario(ah, ds, ds, 0, ctsrate, ctsduration, |
113 | series, 4, 0); | 113 | series, 4, 0); |
114 | ath9k_hw_set_desc_link(ah, ds, 0); | ||
114 | } | 115 | } |
115 | 116 | ||
116 | static void ath_tx_cabq(struct ieee80211_hw *hw, struct sk_buff *skb) | 117 | static void ath_tx_cabq(struct ieee80211_hw *hw, struct sk_buff *skb) |