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 4d3608a commit 818dd11Copy full SHA for 818dd11
drivers/net/wireless/mediatek/mt76/mac80211.c
@@ -1503,7 +1503,7 @@ EXPORT_SYMBOL_GPL(mt76_wcid_init);
1503
1504
void mt76_wcid_cleanup(struct mt76_dev *dev, struct mt76_wcid *wcid)
1505
{
1506
- struct mt76_phy *phy = dev->phys[wcid->phy_idx];
+ struct mt76_phy *phy = mt76_dev_phy(dev, wcid->phy_idx);
1507
struct ieee80211_hw *hw;
1508
struct sk_buff_head list;
1509
struct sk_buff *skb;
0 commit comments