diff options
author | 2022-09-02 16:12:49 +0200 | |
---|---|---|
committer | 2022-09-03 17:05:44 +0200 | |
commit | c087f9fcd0fb53422a9a6c865dbf7dc89b6aecdb (patch) | |
tree | 1e40abe991808f1ac652288aade987ec52a8aef9 /drivers/net/dsa/microchip/ksz_common.c | |
parent | wifi: mac80211: call drv_sta_state() under sdata_lock() in reconfig (diff) | |
download | linux-dev-c087f9fcd0fb53422a9a6c865dbf7dc89b6aecdb.tar.xz linux-dev-c087f9fcd0fb53422a9a6c865dbf7dc89b6aecdb.zip |
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 'drivers/net/dsa/microchip/ksz_common.c')
0 files changed, 0 insertions, 0 deletions