diff --git a/mt7603_main.c b/mt7603_main.c index 601fa7c7..64600666 100644 --- a/mt7603_main.c +++ b/mt7603_main.c @@ -292,6 +292,15 @@ static void mt7603_sta_notify(struct ieee80211_hw *hw, struct ieee80211_vif *vif, enum sta_notify_cmd cmd, struct ieee80211_sta *sta) { + struct mt7603_dev *dev = hw->priv; + + switch (cmd) { + case STA_NOTIFY_SLEEP: + mt76_stop_tx_queues(&dev->mt76, sta); + break; + case STA_NOTIFY_AWAKE: + break; + } } static int