diff options
author | Johannes Berg <johannes.berg@intel.com> | 2022-09-02 17:12:49 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2022-09-03 18:05:44 +0300 |
commit | c087f9fcd0fb53422a9a6c865dbf7dc89b6aecdb (patch) | |
tree | 1e40abe991808f1ac652288aade987ec52a8aef9 /net | |
parent | 48c5d82aba65c91cbc8eff308037bf58bc012eb1 (diff) | |
download | linux-c087f9fcd0fb53422a9a6c865dbf7dc89b6aecdb.tar.xz |
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: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions