diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2023-03-17 12:58:37 +0100 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2023-03-17 12:58:37 +0100 |
commit | f660f44c5b91a44a2208ba4c81b9e2d0fb8746d5 (patch) | |
tree | ab4ecfa2a61bcf66d96695b104c3c5bb305a70b9 /SOURCES/mt76:-mt7921:-Disable-powersave-features-by-default.patch | |
parent | 4241164144fbb3257cb93c3e6cf2a96294789a8a (diff) | |
download | kernel-fsync-f660f44c5b91a44a2208ba4c81b9e2d0fb8746d5.tar.gz kernel-fsync-f660f44c5b91a44a2208ba4c81b9e2d0fb8746d5.zip |
kernel 6.2.6
Diffstat (limited to 'SOURCES/mt76:-mt7921:-Disable-powersave-features-by-default.patch')
-rw-r--r-- | SOURCES/mt76:-mt7921:-Disable-powersave-features-by-default.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/SOURCES/mt76:-mt7921:-Disable-powersave-features-by-default.patch b/SOURCES/mt76:-mt7921:-Disable-powersave-features-by-default.patch index 099b4a4..055970a 100644 --- a/SOURCES/mt76:-mt7921:-Disable-powersave-features-by-default.patch +++ b/SOURCES/mt76:-mt7921:-Disable-powersave-features-by-default.patch @@ -18,17 +18,17 @@ 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 -@@ -67,7 +67,8 @@ - - wiphy->iface_combinations = if_comb; +@@ -98,7 +98,8 @@ + wiphy->n_iface_combinations = ARRAY_SIZE(if_comb); + } wiphy->flags &= ~(WIPHY_FLAG_IBSS_RSN | WIPHY_FLAG_4ADDR_AP | - WIPHY_FLAG_4ADDR_STATION); + WIPHY_FLAG_4ADDR_STATION | + WIPHY_FLAG_PS_ON_BY_DEFAULT); wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) | BIT(NL80211_IFTYPE_AP); - wiphy->n_iface_combinations = ARRAY_SIZE(if_comb); -@@ -266,12 +267,6 @@ int mt7921_register_device(struct mt7921_dev *dev) + wiphy->max_remain_on_channel_duration = 5000; +@@ -369,12 +370,6 @@ dev->pm.idle_timeout = MT7921_PM_TIMEOUT; dev->pm.stats.last_wake_event = jiffies; dev->pm.stats.last_doze_event = jiffies; |