From: Jérôme Pouiller Date: Tue, 25 Aug 2020 08:58:26 +0000 (+0200) Subject: staging: wfx: enable powersave on probe X-Git-Tag: v5.15~2674^2~155 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=869f18bd71ee3a2430c3bcdd6bbd1c8f9ed8a467;p=platform%2Fkernel%2Flinux-starfive.git staging: wfx: enable powersave on probe In the old days, ieee80211 powersave has some impact on the Rx speed. These problems are solved for a long time now. There is no more reason to not enabling it. Signed-off-by: Jérôme Pouiller Link: https://lore.kernel.org/r/20200825085828.399505-10-Jerome.Pouiller@silabs.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wfx/main.c b/drivers/staging/wfx/main.c index 5a3018e..5e2b824 100644 --- a/drivers/staging/wfx/main.c +++ b/drivers/staging/wfx/main.c @@ -285,7 +285,6 @@ struct wfx_dev *wfx_init_common(struct device *dev, hw->wiphy->features |= NL80211_FEATURE_AP_SCAN; hw->wiphy->flags |= WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD; hw->wiphy->flags |= WIPHY_FLAG_AP_UAPSD; - hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT; hw->wiphy->max_ap_assoc_sta = HIF_LINK_ID_MAX; hw->wiphy->max_scan_ssids = 2; hw->wiphy->max_scan_ie_len = IEEE80211_MAX_DATA_LEN;