Skip to content

Commit

Permalink
mt76: mt7921: mt7921_stop should put device in fw_own state
Browse files Browse the repository at this point in the history
mt7921_stop should put device in fw_own state to reduce
power consumption.

Signed-off-by: Sean Wang <[email protected]>
Signed-off-by: Lorenzo Bianconi <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
  • Loading branch information
moore-bros authored and nbd168 committed Apr 21, 2021
1 parent 349bbb9 commit 98a2350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mt76_connac_mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ void mt76_connac_power_save_sched(struct mt76_phy *phy,
if (!mt76_is_mmio(dev))
return;

if (!pm->enable || !test_bit(MT76_STATE_RUNNING, &phy->state))
if (!pm->enable)
return;

pm->last_activity = jiffies;
Expand Down

0 comments on commit 98a2350

Please sign in to comment.