aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2021-12-10 11:12:42 +0200
committerLuca Coelho <[email protected]>2021-12-21 12:35:05 +0200
commitab07506b0454bea606095951e19e72c282bfbb42 (patch)
treeb69a1d8bb20ef893d8df3055b02d9cc963ebb6ce /include/linux/timerqueue.h
parentccbffd690ec21b0891bf437ef5df9e5c63e0a980 (diff)
iwlwifi: fix leaks/bad data after failed firmware load
If firmware load fails after having loaded some parts of the firmware, e.g. the IML image, then this would leak. For the host command list we'd end up running into a WARN on the next attempt to load another firmware image. Fix this by calling iwl_dealloc_ucode() on failures, and make that also clear the data so we start fresh on the next round. Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Luca Coelho <[email protected]> Link: https://lore.kernel.org/r/iwlwifi.20211210110539.1f742f0eb58a.I1315f22f6aa632d94ae2069f85e1bca5e734dce0@changeid Signed-off-by: Luca Coelho <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions