From: Ignacy Gawędzki Date: Thu, 11 Sep 2014 09:56:36 +0000 (+0200) Subject: Fix resetting of txstatus flags. X-Git-Tag: 1.4.0~4^2 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=refs%2Fpull%2F64%2Fhead;p=open-ath9k-htc-firmware.git Fix resetting of txstatus flags. --- diff --git a/target_firmware/wlan/if_owl.c b/target_firmware/wlan/if_owl.c index 3d179f4..e891de5 100755 --- a/target_firmware/wlan/if_owl.c +++ b/target_firmware/wlan/if_owl.c @@ -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);