aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2023-09-26 11:07:16 +0300
committerJohannes Berg <[email protected]>2023-10-23 11:42:07 +0200
commit7186d271acec33496de73b3a9271e780b94241e6 (patch)
tree819afec6a6fedb4aea4385958c539d498274c9ba /tools/perf/scripts/python/bin
parenteb8efbac9087230fccce8e6873c873f837a05219 (diff)
wifi: iwlwifi: fix opmode start/stop race
There's a race when the device is unbound (maybe because the module is unloaded) while the opmode start hasn't finished yet. The complete(request_firmware_complete) after the opmode start was meant (and commented accordingly) to prevent this problem, but it's not sufficient when the opmode module is loaded after the firmware load already completed, which happens regularly now because firmware load doesn't require userspace, unlike module load. Fix this by using the existing opmode registration mutex to protected the start/stop flows against each other properly. Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Gregory Greenman <[email protected]> Link: https://lore.kernel.org/r/20230926110319.85951554fed8.I62f20f40d79d0f136fa05e46d7fc16dc437fa3db@changeid Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions