Fix resetting of txstatus flags. 64/head
authorIgnacy Gawędzki <ignacy.gawedzki@green-communications.fr>
Thu, 11 Sep 2014 09:56:36 +0000 (11:56 +0200)
committerIgnacy Gawędzki <ignacy.gawedzki@green-communications.fr>
Thu, 11 Sep 2014 12:21:38 +0000 (14:21 +0200)
target_firmware/wlan/if_owl.c

index 3d179f43ed0b1e780913af5acef4ac7ba48ec887..e891de5456ad164c45c0edfc85006e744971051d 100755 (executable)
@@ -556,6 +556,8 @@ void ath_tx_status_update(struct ath_softc_tgt *sc, struct ath_tx_buf *bf)
        if (txs == NULL)
                return;
 
+       txs->txstatus[txs->cnt].ts_flags = 0;
+
        txs->txstatus[txs->cnt].cookie = bf->bf_cookie;
        txs->txstatus[txs->cnt].ts_rate = SM(bf->bf_endpt, ATH9K_HTC_TXSTAT_EPID);