mt76: fix tx status timeout processing
authorFelix Fietkau <nbd@nbd.name>
Fri, 25 Jan 2019 14:10:52 +0000 (15:10 +0100)
committerFelix Fietkau <nbd@nbd.name>
Mon, 18 Feb 2019 19:23:46 +0000 (20:23 +0100)
commitb231cd7f557d59b7922a3b8dc29ef1f23338f1fc
tree985e8e2e6a0fec5c5b8fcf878f8eb2e9b5ba7bc6
parentd0ff23c1107e8c6ddc7534cafb65844b292b1540
mt76: fix tx status timeout processing

Remove bogus check for MT_PACKET_ID_NO_ACK in mt76_tx_status_skb_get, which
is already handled in callers and turns timeout calls into no-ops
Do not clean up pending status items on reordering of tx status information
if the timeout is not reached yet

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/tx.c