aboutsummaryrefslogtreecommitdiff
path: root/SOURCES/mt76:-mt7921:-Disable-powersave-features-by-default.patch
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2024-01-28 19:27:26 +0100
committerJan200101 <sentrycraft123@gmail.com>2024-01-28 19:27:26 +0100
commit9446f45f8a204ebce12263d882275f923ed7c6ed (patch)
tree87b6791c9f9d8b20ab6ac18c37ef6fbaa6585329 /SOURCES/mt76:-mt7921:-Disable-powersave-features-by-default.patch
parent39c562cfc5782e1ff081f1a08edeb9bb4948864e (diff)
downloadkernel-fsync-9446f45f8a204ebce12263d882275f923ed7c6ed.tar.gz
kernel-fsync-9446f45f8a204ebce12263d882275f923ed7c6ed.zip
kernel 6.6.13
Diffstat (limited to 'SOURCES/mt76:-mt7921:-Disable-powersave-features-by-default.patch')
-rw-r--r--SOURCES/mt76:-mt7921:-Disable-powersave-features-by-default.patch4
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;