diff options
author | Rafael Beims <[email protected]> | 2024-05-10 13:04:58 +0200 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2024-05-17 11:02:56 +0300 |
commit | a17b9f590f6ec2b9f1b12b1db3bf1d181de6b272 (patch) | |
tree | 4e992ee9c843414df9ac9433c3b4e489023e51cf /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 83d9b54ee5d4c12d00f2cbf71d827e31994c5a6c (diff) |
wifi: mwifiex: Fix interface type change
When changing the interface type we also need to update the bss_num, the
driver private data is searched based on a unique (bss_type, bss_num)
tuple, therefore every time bss_type changes, bss_num must also change.
This fixes for example an issue in which, after the mode changed, a
wireless scan on the changed interface would not finish, leading to
repeated -EBUSY messages to userspace when other scan requests were
sent.
Fixes: c606008b7062 ("mwifiex: Properly initialize private structure on interface type changes")
Cc: [email protected]
Signed-off-by: Rafael Beims <[email protected]>
Signed-off-by: Francesco Dolcini <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions