diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2020-06-21 18:03:38 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-06-23 10:43:16 +0200 |
commit | b1e79d105516fb96c39eb8a780936b87bae8e3e1 (patch) | |
tree | 4d30813c8a572decbb1518d243406f387332cb1b /ipc/util.h | |
parent | mt76: mt76x02: do not access uninitialized NAPI structs (diff) | |
download | linux-b1e79d105516fb96c39eb8a780936b87bae8e3e1.tar.xz linux-b1e79d105516fb96c39eb8a780936b87bae8e3e1.zip |
mt76: mt7663u: fix memory leaks in mt7663u_probe
Fix the two following memory leaks in mt7663u_probe:
1- if device power-own times out, remove ieee80211 hw device.
2- if mt76u queues allocation fails, remove pending urbs.
Fixes: eb99cc95c3b65 ("mt76: mt7615: introduce mt7663u support")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/e4098f0c8a9ac51997de07f38c2bcdf7042d6db1.1592755166.git.lorenzo@kernel.org
Diffstat (limited to 'ipc/util.h')
0 files changed, 0 insertions, 0 deletions