diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-05-12 22:58:30 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2021-06-15 13:42:53 +0300 |
commit | 9a25344d5177c2b9285532236dc3d10a091f39a8 (patch) | |
tree | 606a269bb249fcb29fedcc919226613c013d235a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 34fe7038a3b33b4b50b1e948e005bf3db20b7a54 (diff) |
brcmsmac: mac80211_if: Fix a resource leak in an error handling path
If 'brcms_attach()' fails, we must undo the previous 'ieee80211_alloc_hw()'
as already done in the remove function.
Fixes: 5b435de0d786 ("net: wireless: add brcm80211 drivers")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/8fbc171a1a493b38db5a6f0873c6021fca026a6c.1620852921.git.christophe.jaillet@wanadoo.fr
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions