OrangePi_CM5/drivers/net/wireless/ti/wlcore
Gustavo A. R. Silva 04614fe46f wlcore: Fix memory leak in wlcore_cmd_wait_for_event_or_timeout
In case memory resources for *events_vector* were allocated, release
them before return.

Addresses-Coverity-ID: 1470194 ("Resource leak")
Fixes: 4ec7cece87 ("wlcore: Add missing PM call for wlcore_cmd_wait_for_event_or_timeout()")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2018-07-04 18:14:09 +03:00
..
Kconfig
…
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
acx.c wlcore: Add support for runtime PM 2018-06-27 18:44:47 +03:00
acx.h wlcore: fix unused function warning 2017-12-14 14:44:31 +02:00
boot.c wlcore: Fix config firmware loading issues 2016-09-26 18:13:45 +03:00
boot.h
…
cmd.c wlcore: Fix memory leak in wlcore_cmd_wait_for_event_or_timeout 2018-07-04 18:14:09 +03:00
cmd.h
…
conf.h
…
debug.h
…
debugfs.c wlcore: Enable runtime PM autosuspend support 2018-06-27 18:45:24 +03:00
debugfs.h
…
event.c mac80211: Pass new RSSI level in CQM RSSI notification 2017-02-08 10:43:04 +01:00
event.h
…
hw_ops.h
…
ini.h
…
init.c scripts/spelling.txt: add "intialization" pattern and fix typo instances 2017-02-27 18:43:47 -08:00
init.h
…
io.c
…
io.h
…
main.c wireless-drivers: use BIT_ULL for NL80211_STA_INFO_ attribute types 2018-06-27 19:07:39 +03:00
ps.c wlcore: Add support for runtime PM 2018-06-27 18:44:47 +03:00
ps.h wlcore: Add support for runtime PM 2018-06-27 18:44:47 +03:00
rx.c net: manual clean code which call skb_put_[data:zero] 2017-06-20 13:30:15 -04:00
rx.h
…
scan.c wlcore: Enable runtime PM autosuspend support 2018-06-27 18:45:24 +03:00
scan.h
…
sdio.c wlcore: sdio: check for valid platform device data before suspend 2018-05-29 10:20:56 +03:00
spi.c wlcore: add missing nvs file name info for wilink8 2017-08-24 12:51:22 +03:00
sysfs.c wlcore: Enable runtime PM autosuspend support 2018-06-27 18:45:24 +03:00
sysfs.h
…
testmode.c wlcore: Enable runtime PM autosuspend support 2018-06-27 18:45:24 +03:00
testmode.h
…
tx.c wlcore: Enable runtime PM autosuspend support 2018-06-27 18:45:24 +03:00
tx.h
…
vendor_cmd.c wlcore: Enable runtime PM autosuspend support 2018-06-27 18:45:24 +03:00
vendor_cmd.h
…
wl12xx_80211.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
wlcore.h wlcore: Add support for runtime PM 2018-06-27 18:44:47 +03:00
wlcore_i.h wlcore: Add support for runtime PM 2018-06-27 18:44:47 +03:00