mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
mt76: fix memory leak if device probing fails
Run mt76_free_device instead of ieee80211_free_hw if device probing fails in order to remove the already allocated mt76 workqueue Fixes:a86f1d01f5("mt76: move mt76 workqueue in common code") Fixes:f1d962369d("mt76: mt7915: implement HE per-rate tx power support") Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
468cc93be7
commit
bc348defcc
5 changed files with 11 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue