Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

wifi: cfg80211: include s1g_primary_2mhz when comparing chandefs

When comparing chandefs, ensure we include s1g_primary_2mhz.

Signed-off-by: Lachlan Hodges <lachlan.hodges@morsemicro.com>
Link: https://patch.msgid.link/20251125025927.245280-3-lachlan.hodges@morsemicro.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

authored by

Lachlan Hodges and committed by
Johannes Berg
cba1ba11 3fc830cd

+2 -1
+2 -1
include/net/cfg80211.h
··· 974 974 chandef1->center_freq1 == chandef2->center_freq1 && 975 975 chandef1->freq1_offset == chandef2->freq1_offset && 976 976 chandef1->center_freq2 == chandef2->center_freq2 && 977 - chandef1->punctured == chandef2->punctured); 977 + chandef1->punctured == chandef2->punctured && 978 + chandef1->s1g_primary_2mhz == chandef2->s1g_primary_2mhz); 978 979 } 979 980 980 981 /**