mt7603: clear status cb before using it

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2016-02-27 15:26:56 +01:00
parent 9558f18bda
commit f21b50f6c9
+1
View File
@@ -699,6 +699,7 @@ int mt7603_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr,
if (!wcid)
wcid = &dev->global_sta.wcid;
memset(cb, 0, sizeof(*cb));
if ((info->flags & (IEEE80211_TX_CTL_REQ_TX_STATUS |
IEEE80211_TX_CTL_RATE_CTRL_PROBE)) ||
info->control.rates[0].idx >= 0) {