Skip to content

Commit

Permalink
Merge wireless-drivers into wireless-drivers-next
Browse files Browse the repository at this point in the history
Solve the conflict in main.c early on as there will be a lot more mt76 patches
in the queue.
  • Loading branch information
Kalle Valo committed Sep 17, 2018
2 parents cf5652c + 3341ba9 commit 43e2f29
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/net/wireless/mediatek/mt76/mt76x0/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,8 @@ static void mt76x0_remove_interface(struct ieee80211_hw *hw,
{
struct mt76x0_dev *dev = hw->priv;
struct mt76x02_vif *mvif = (struct mt76x02_vif *) vif->drv_priv;
unsigned int wcid = mvif->group_wcid.idx;

dev->wcid_mask[wcid / BITS_PER_LONG] &= ~BIT(wcid % BITS_PER_LONG);
dev->vif_mask &= ~BIT(mvif->idx);
mt76_txq_remove(&dev->mt76, vif->txq);
}

Expand Down

0 comments on commit 43e2f29

Please sign in to comment.