summaryrefslogtreecommitdiff
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorMiri Korenblit <miriam.rachel.korenblit@intel.com>2026-05-27 22:51:45 +0300
committerJohannes Berg <johannes.berg@intel.com>2026-05-28 10:50:23 +0300
commitf1a389fcc3f13a00c1202b0f63e073a2054184cc (patch)
tree319afa18c30bb1dd25686a7012bed9dfa1143c3d /include/linux/workqueue.h
parenta5b9ebd5c3f409ddfe1c15bdba361f904c16d719 (diff)
downloadlinux-f1a389fcc3f13a00c1202b0f63e073a2054184cc.tar.xz
wifi: mac80211: fix channel evacuation logic
When we try to assign a chanctx to a link, if ieee80211_find_or_create_chanctx() failed, we try to evacuate a NAN channel and call it again. This logic is broken: In case there are not enough chanctxs we will fail earlier, when we check ieee80211_check_combinations(). To fix this, do the following in case ieee80211_check_combinations() failed: - check if there is a NAN channel that can be evacuated - make ieee80211_check_combinations() not consider the chanctx of that NAN channel, so we pretend that it was already evacuated - If now ieee80211_check_combinations() is successful, we know that it helped, and we can remove that NAN channel for real. Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20260527224745.5f7b10505145.I1712bc64f9eec9c99f05994208ad124624a29f1c@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions