aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/mvm/time-event.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2024-03-18 18:53:30 +0200
committerJohannes Berg <johannes.berg@intel.com>2024-03-25 15:23:06 +0100
commit2e6bd24339a6ff04413b2e49c0f2672d6f0edfa5 (patch)
tree2a3b22bc04641758fecb51118431e9ac9cf9199c /drivers/net/wireless/intel/iwlwifi/mvm/time-event.c
parentec50f3114e55406a1aad24b7dfaa1c3f4336d8eb (diff)
downloadlinux-2e6bd24339a6ff04413b2e49c0f2672d6f0edfa5.tar.gz
wifi: mac80211: fix prep_connection error path
If prep_channel fails in prep_connection, the code releases the deflink's chanctx, which is wrong since we may be using a different link. It's already wrong to even do that always though, since we might still have the station. Remove it only if prep_channel succeeded and later updates fail. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://msgid.link/20240318184907.2780c1f08c3d.I033c9b15483933088f32a2c0789612a33dd33d82@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/time-event.c')
0 files changed, 0 insertions, 0 deletions