Commit 6937180
committed
wifi: mac80211: fix locking in auth/assoc timeout
If we hit an authentication or association timeout, we only
release the chanctx for the deflink, and the other link(s)
are released later by ieee80211_vif_set_links(), but we're
not locking this correctly.
Fix the locking here while releasing the channels and links.
Change-Id: I9e08c1a5434592bdc75253c1abfa6c788f9f39b1
Fixes: 81151ce ("wifi: mac80211: support MLO authentication/association with one link")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>1 parent 7a2c6d1 commit 6937180
1 file changed
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3420 | 3420 | | |
3421 | 3421 | | |
3422 | 3422 | | |
| 3423 | + | |
3423 | 3424 | | |
3424 | 3425 | | |
3425 | | - | |
3426 | | - | |
3427 | 3426 | | |
| 3427 | + | |
3428 | 3428 | | |
3429 | 3429 | | |
3430 | 3430 | | |
| |||
3462 | 3462 | | |
3463 | 3463 | | |
3464 | 3464 | | |
3465 | | - | |
3466 | | - | |
3467 | | - | |
3468 | | - | |
3469 | 3465 | | |
3470 | 3466 | | |
3471 | 3467 | | |
| |||
3484 | 3480 | | |
3485 | 3481 | | |
3486 | 3482 | | |
| 3483 | + | |
| 3484 | + | |
3487 | 3485 | | |
| 3486 | + | |
3488 | 3487 | | |
3489 | 3488 | | |
3490 | 3489 | | |
| |||
0 commit comments