diff options
author | 2023-12-19 21:58:56 +0200 | |
---|---|---|
committer | 2023-12-21 20:35:16 +0100 | |
commit | 9b6614e5ead5d19a71893bcca3f1a6569ca0c456 (patch) | |
tree | 9a36a0af87071ab45e9a032102eb6f1a85ce0664 /tools/testing/selftests/bpf/progs/exceptions.c | |
parent | wifi: iwlwifi: fix out of bound copy_from_user (diff) | |
download | wireguard-linux-9b6614e5ead5d19a71893bcca3f1a6569ca0c456.tar.xz wireguard-linux-9b6614e5ead5d19a71893bcca3f1a6569ca0c456.zip |
wifi: iwlwifi: assign phy_ctxt before eSR activation
eSR is activated when a chanctx is assigned to more than one link.
During eSR activation we should disable RLC for both phys, and configure
the FW with a special phy command for both phys.
Currently we assign the phy_ctxt to the link only after eSR activation,
so RLC is not disabled for the new phy_ctxt, and a cmd is not sent to FW.
Fix this by first assigning the new phy_ctxt to the link and then
doing the eSR activation.
Fixes: 12bacfc2c065 ("wifi: iwlwifi: handle eSR transitions")
Reviewed-by: Gregory Greenman <gregory.greenman@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20231219215605.3d94507f5d9a.I537fcd73aedf94c7348c03157e486f24301fef14@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/exceptions.c')
0 files changed, 0 insertions, 0 deletions