diff options
author | Johannes Berg <[email protected]> | 2012-06-06 09:42:57 +0200 |
---|---|---|
committer | Johannes Berg <[email protected]> | 2012-06-13 09:00:31 +0200 |
commit | ff1ffb850b7ac6d0f1b085208a6630f7584e1015 (patch) | |
tree | 415f871e2c642e6cdf602b702794861a6cf4de93 /tools/perf/scripts/python/check-perf-trace.py | |
parent | c76fe6d19b8beffe792c390c0bd215d193512f1e (diff) |
iwlwifi: fix dynamic loading
Add locking to the dynamic loading code to prevent
corrupting the list if multiple device ever init at
the same time (which cannot happen for multiple PCI
devices, but could happen when different busses init
concurrently.)
Also remove a device from the list when it stops so
the list isn't left corrupted, including a fix from
Don to not crash when it was never added.
Reviewed-by: Donald H Fry <[email protected]>
Tested-by: Donald H Fry <[email protected]>
Reviewed-by: Emmanuel Grumbach <[email protected]>
Signed-off-by: Don Fry <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions