]> Git Repo - linux.git/commitdiff
ath10k: fix Tx status clearing
authorMichal Kazior <[email protected]>
Tue, 26 Nov 2013 13:57:40 +0000 (14:57 +0100)
committerKalle Valo <[email protected]>
Wed, 27 Nov 2013 14:56:35 +0000 (16:56 +0200)
Too much of tx info was being cleared. This caused
issues in some setups with tx frame status
reporting.

This should fix some cases of stations not being
able to associate to ath10k AP.

Reported-By: Matti Laakso <[email protected]>
Signed-off-by: Michal Kazior <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
drivers/net/wireless/ath/ath10k/txrx.c

index d476b2cc9d781bebd0eaae792a6a05339cf94027..22829803f087bf63c5946d788e4ae386613b6cb8 100644 (file)
@@ -75,7 +75,7 @@ void ath10k_txrx_tx_unref(struct ath10k_htt *htt,
        ath10k_report_offchan_tx(htt->ar, msdu);
 
        info = IEEE80211_SKB_CB(msdu);
-       memset(info, 0, sizeof(*info));
+       memset(&info->status, 0, sizeof(info->status));
 
        if (tx_done->discard) {
                ieee80211_free_txskb(htt->ar->hw, msdu);
This page took 0.051024 seconds and 4 git commands to generate.