mt76: fix regression in tx status handling

Tx status reporting needs to work on non-STA WCID entries as well

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2018-10-27 17:36:53 +02:00
parent 14b6c59dc6
commit fdc63f168e
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -143,7 +143,7 @@ mt76_tx_status_skb_add(struct mt76_dev *dev, struct mt76_wcid *wcid,
struct mt76_tx_cb *cb = mt76_tx_skb_cb(skb);
int pid;
if (!wcid || !wcid->sta)
if (!wcid)
return 0;
if (info->flags & IEEE80211_TX_CTL_NO_ACK)