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 0300545 commit a3c99efCopy full SHA for a3c99ef
drivers/net/wireless/mediatek/mt76/mac80211.c
@@ -1690,7 +1690,7 @@ EXPORT_SYMBOL_GPL(mt76_wcid_cleanup);
1690
1691
void mt76_wcid_add_poll(struct mt76_dev *dev, struct mt76_wcid *wcid)
1692
{
1693
- if (test_bit(MT76_MCU_RESET, &dev->phy.state))
+ if (test_bit(MT76_MCU_RESET, &dev->phy.state) || !wcid->sta)
1694
return;
1695
1696
spin_lock_bh(&dev->sta_poll_lock);
0 commit comments