diff options
Diffstat (limited to 'SOURCES/mt76:-mt7921:-Disable-powersave-features-by-default.patch')
-rw-r--r-- | SOURCES/mt76:-mt7921:-Disable-powersave-features-by-default.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SOURCES/mt76:-mt7921:-Disable-powersave-features-by-default.patch b/SOURCES/mt76:-mt7921:-Disable-powersave-features-by-default.patch index 1a0ddc8..a397014 100644 --- a/SOURCES/mt76:-mt7921:-Disable-powersave-features-by-default.patch +++ b/SOURCES/mt76:-mt7921:-Disable-powersave-features-by-default.patch @@ -28,13 +28,13 @@ index ff63f37f67d9..840b4c606c83 100644 - dev->pm.ds_enable_user = true; - dev->pm.ds_enable = true; - } - + if (!mt76_is_mmio(&dev->mt76)) hw->extra_tx_headroom += MT_SDIO_TXD_SIZE + MT_SDIO_HDR_SIZE; @@ -240,6 +234,8 @@ int mt7921_register_device(struct mt792x_dev *dev) if (ret) return ret; - + + hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT; + hw->wiphy->reg_notifier = mt7921_regd_notifier; |