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 | 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; |