mt7603: disable beacons when shutting down a vif

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2016-02-26 21:56:18 +01:00
parent 5307d29c81
commit 1745cd3a0f
+2
View File
@@ -102,6 +102,8 @@ mt7603_remove_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif)
struct mt7603_dev *dev = hw->priv;
int idx = mvif->sta.wcid.idx;
mt7603_beacon_set_timer(dev, mvif->idx, 0);
rcu_assign_pointer(dev->wcid[idx], NULL);
mt76_txq_remove(&dev->mt76, vif->txq);