On 8/29/2024 12:52 AM, Miaoqing Pan wrote: > Fix the following W=1 kernel build warning: > > drivers/net/wireless/ath/ath11k/wow.c: In function ‘ath11k_vif_wow_set_wakeups’: > drivers/net/wireless/ath/ath11k/wow.c:461:1: warning: the frame size of 1352 bytes is larger than 1024 bytes [-Wframe-larger-than=] > > Remove the nonessential variable 'struct cfg80211_pkt_pattern > old_pattern' by relocating bitmask to bytemask conversion into > ath11k_wow_convert_8023_to_80211(). > > Tested-on: WCN6855 hw2.1 PCI WLAN.HSP.1.1-04358-QCAHSPSWPL_V1_V2_SILICONZ_LITE-1 > > Signed-off-by: Miaoqing Pan <quic_miaoqing@xxxxxxxxxxx> Acked-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx>