Commit 32d0b580 authored by Johannes Berg's avatar Johannes Berg Committed by Greg Kroah-Hartman
Browse files

wifi: mac80211: chan: chandef is non-NULL for reserved



[ Upstream commit 9bf7079b ]

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: default avatarMiriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240129194108.bad8ec1e76c8.I12287452f42c54baf75821e75491cf6d021af20a@changeid


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Stable-dep-of: d87c3ca0 ("wifi: mac80211: finish link init before RCU publish")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent bc0819a2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment