diff options
author | Hangyu Hua <[email protected]> | 2022-06-20 17:23:50 +0800 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2022-07-27 15:49:17 +0300 |
commit | 6fd57e1d120bf13d4dc6c200a7cf914e6347a316 (patch) | |
tree | 4f956be1fa06942a58dae579bb9682bdd0e11d36 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 06ce07860b3237296da299dede242b114d184849 (diff) |
wifi: libertas: Fix possible refcount leak in if_usb_probe()
usb_get_dev will be called before lbs_get_firmware_async which means that
usb_put_dev need to be called when lbs_get_firmware_async fails.
Fixes: ce84bb69f50e ("libertas USB: convert to asynchronous firmware loading")
Signed-off-by: Hangyu Hua <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions