aboutsummaryrefslogtreecommitdiff
path: root/SOURCES/mt76:-mt7921:-Disable-powersave-features-by-default.patch
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2023-07-22 20:34:19 +0200
committerJan200101 <sentrycraft123@gmail.com>2023-07-22 20:34:19 +0200
commite57ae98adb2244cb95c2570e6fc73b039b98f918 (patch)
tree6ad89940f61b24642c42fdadfe59f16cfebab8ee /SOURCES/mt76:-mt7921:-Disable-powersave-features-by-default.patch
parentb8b93206c3cd36b7003b72c7cfa17582f9f3ef3a (diff)
downloadkernel-fsync-e57ae98adb2244cb95c2570e6fc73b039b98f918.tar.gz
kernel-fsync-e57ae98adb2244cb95c2570e6fc73b039b98f918.zip
kernel 6.4.4
Diffstat (limited to 'SOURCES/mt76:-mt7921:-Disable-powersave-features-by-default.patch')
-rw-r--r--SOURCES/mt76:-mt7921:-Disable-powersave-features-by-default.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/SOURCES/mt76:-mt7921:-Disable-powersave-features-by-default.patch b/SOURCES/mt76:-mt7921:-Disable-powersave-features-by-default.patch
index 055970a..4bb775c 100644
--- a/SOURCES/mt76:-mt7921:-Disable-powersave-features-by-default.patch
+++ b/SOURCES/mt76:-mt7921:-Disable-powersave-features-by-default.patch
@@ -18,7 +18,7 @@ diff --git a/drivers/net/wireless/mediatek/mt76/mt7921/init.c b/drivers/net/wire
index 91fc41922d95..cfa0bb51004d 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7921/init.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7921/init.c
-@@ -98,7 +98,8 @@
+@@ -99,7 +99,8 @@
wiphy->n_iface_combinations = ARRAY_SIZE(if_comb);
}
wiphy->flags &= ~(WIPHY_FLAG_IBSS_RSN | WIPHY_FLAG_4ADDR_AP |
@@ -26,9 +26,9 @@ index 91fc41922d95..cfa0bb51004d 100644
+ WIPHY_FLAG_4ADDR_STATION |
+ WIPHY_FLAG_PS_ON_BY_DEFAULT);
wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) |
- BIT(NL80211_IFTYPE_AP);
- wiphy->max_remain_on_channel_duration = 5000;
-@@ -369,12 +370,6 @@
+ BIT(NL80211_IFTYPE_AP) |
+ BIT(NL80211_IFTYPE_P2P_CLIENT) |
+@@ -408,12 +409,6 @@
dev->pm.idle_timeout = MT7921_PM_TIMEOUT;
dev->pm.stats.last_wake_event = jiffies;
dev->pm.stats.last_doze_event = jiffies;