From: Felix Fietkau Date: Wed, 14 Sep 2011 19:24:19 +0000 (+0200) Subject: ath9k: call ath9k_hw_set_desc_link for beacon descriptors X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7a2721a3233d32c958a474f78c20e25c9efa221c;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git 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 Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath9k/beacon.c b/drivers/net/wireless/ath/ath9k/beacon.c index 6d7088b0261..b97d01d2eec 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, 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)