We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43b7724 commit 862bf7cCopy full SHA for 862bf7c
drivers/net/wireless/mediatek/mt76/mac80211.c
@@ -1529,7 +1529,7 @@ EXPORT_SYMBOL_GPL(mt76_wcid_init);
1529
1530
void mt76_wcid_cleanup(struct mt76_dev *dev, struct mt76_wcid *wcid)
1531
{
1532
- struct mt76_phy *phy = dev->phys[wcid->phy_idx];
+ struct mt76_phy *phy = mt76_dev_phy(dev, wcid->phy_idx);
1533
struct ieee80211_hw *hw;
1534
struct sk_buff_head list;
1535
struct sk_buff *skb;
0 commit comments