[PATCH 07/13] wcn36xx: Flag WIPHY_WOWLAN_MAGIC_PKT

Kalle Valo kvalo at codeaurora.org
Mon Jan 11 06:38:14 EST 2021


Bryan O'Donoghue <bryan.odonoghue at linaro.org> writes:

> Set a flag to indicate magic packet wakeup support on wcn36xx.
>
> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue at linaro.org>
> ---
>  drivers/net/wireless/ath/wcn36xx/main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/wireless/ath/wcn36xx/main.c
> b/drivers/net/wireless/ath/wcn36xx/main.c
> index 579bb7f4db9c..cfa2e2d20a20 100644
> --- a/drivers/net/wireless/ath/wcn36xx/main.c
> +++ b/drivers/net/wireless/ath/wcn36xx/main.c
> @@ -173,7 +173,7 @@ static struct ieee80211_supported_band wcn_band_5ghz = {
>  #ifdef CONFIG_PM
>  
>  static const struct wiphy_wowlan_support wowlan_support = {
> -	.flags = WIPHY_WOWLAN_ANY
> +	.flags = WIPHY_WOWLAN_ANY | WIPHY_WOWLAN_MAGIC_PKT
>  };

Shouldn't this be the last patch so that we don't enable the feature
until it's fully implemented? This makes a difference when doing a
bisect, for example.

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches



More information about the wcn36xx mailing list