]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: cfg80211: get correct AP link chandef
authorShaul Triebitz <shaul.triebitz@intel.com>
Mon, 1 Aug 2022 11:12:29 +0000 (14:12 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 25 Aug 2022 08:40:52 +0000 (10:40 +0200)
commite81f2f631782ead25429aebe32132ad82859dd45
tree9ce217ace79fb16e267da1e0bee10914a2373d3f
parenta360b600b6fefd2ee82fa932a1ac30a174ab05ea
wifi: cfg80211: get correct AP link chandef

When checking for channel regulatory validity, use the
AP link chandef (and not mesh's chandef).

Fixes: d624b47de5de ("wifi: cfg80211: do some rework towards MLO link APIs")
Signed-off-by: Shaul Triebitz <shaul.triebitz@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c