mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt7603: stop tx queues on sta sleep
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user