From f660f44c5b91a44a2208ba4c81b9e2d0fb8746d5 Mon Sep 17 00:00:00 2001 From: Jan200101 Date: Fri, 17 Mar 2023 12:58:37 +0100 Subject: kernel 6.2.6 --- .../mt76:-mt7921:-Disable-powersave-features-by-default.patch | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'SOURCES/mt76:-mt7921:-Disable-powersave-features-by-default.patch') 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; -- cgit v1.2.3