diff options
| author | Johannes Berg <[email protected]> | 2024-03-18 16:53:30 +0000 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2024-03-25 14:23:06 +0000 |
| commit | 2e6bd24339a6ff04413b2e49c0f2672d6f0edfa5 (patch) | |
| tree | 2a3b22bc04641758fecb51118431e9ac9cf9199c /scripts/bpf_doc.py | |
| parent | wifi: cfg80211: fix rdev_dump_mpp() arguments order (diff) | |
| download | kernel-2e6bd24339a6ff04413b2e49c0f2672d6f0edfa5.tar.gz kernel-2e6bd24339a6ff04413b2e49c0f2672d6f0edfa5.zip | |
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 <[email protected]>
Signed-off-by: Miri Korenblit <[email protected]>
Link: https://msgid.link/20240318184907.2780c1f08c3d.I033c9b15483933088f32a2c0789612a33dd33d82@changeid
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions
