]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: mac80211: chan: chandef is non-NULL for reserved
authorJohannes Berg <johannes.berg@intel.com>
Mon, 29 Jan 2024 18:34:39 +0000 (19:34 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2025 14:03:13 +0000 (16:03 +0200)
commit32d0b58079eda1019c0c6d012d8a13f74852b532
tree15d7b198d2967373f06a39d9227293b84cadf616
parentbc0819a25e04cd68ef3568cfa51b63118fea39a7
wifi: mac80211: chan: chandef is non-NULL for reserved

[ Upstream commit 9bf7079bc2271321fac467cae981c44e495b76b9 ]

The last caller of this with a NULL argument was related to
the non-chanctx code, so we can now remove this odd logic.

Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240129194108.bad8ec1e76c8.I12287452f42c54baf75821e75491cf6d021af20a@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Stable-dep-of: d87c3ca0f8f1 ("wifi: mac80211: finish link init before RCU publish")
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/mac80211/chan.c