Skip to content
Commit c087f9fc authored by Johannes Berg's avatar Johannes Berg
Browse files

wifi: mac80211_hwsim: fix multi-channel handling in netlink RX



In netlink RX, now that we can actually have multiple
channel contexts for MLO, things don't work well as we
only keep a single pointer, and then on link switching
we might NULL it, and hit the return if the channel is
NULL.

However, we already use mac80211_hwsim_tx_iter() which
deals with all this, so remove the test and adjust the
remaining code a bit.

This then means we no longer use the chanctx pointer,
so remove it as well.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 48c5d82a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment