linux/drivers/net/wireless/quantenna/qtnfmac
Wang Hai 141bc9abbb qtnfmac: Missing platform_device_unregister() on error in qtnf_core_mac_alloc()
Add the missing platform_device_unregister() before return from
qtnf_core_mac_alloc() in the error handling case.

Fixes: 616f5701f4 ("qtnfmac: assign each wiphy to its own virtual platform device")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Reviewed-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200730064910.37589-1-wanghai38@huawei.com
2020-08-02 18:20:30 +03:00
..
pcie qtnfmac: Simplify code in _attach functions 2020-04-14 18:08:45 +03:00
bus.h qtnfmac: Replace zero-length array with flexible-array 2020-05-12 11:56:28 +03:00
cfg80211.c cfg80211: change internal management frame registration API 2020-04-24 12:33:40 +02:00
cfg80211.h qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00
commands.c qtnfmac: support WPA3 OWE in AP mode 2020-03-12 15:38:56 +02:00
commands.h qtnfmac: support WPA3 OWE in AP mode 2020-03-12 15:38:56 +02:00
core.c qtnfmac: Missing platform_device_unregister() on error in qtnf_core_mac_alloc() 2020-08-02 18:20:30 +03:00
core.h qtnfmac: assign each wiphy to its own virtual platform device 2020-03-12 15:38:58 +02:00
debug.c qtnfmac: modify debugfs to support multiple cards 2019-04-26 14:53:13 +03:00
debug.h qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00
event.c qtnfmac: support WPA3 OWE in AP mode 2020-03-12 15:38:56 +02:00
event.h qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile qtnfmac: add support for Topaz chipsets 2018-11-06 18:53:50 +02:00
qlink_util.c qtnfmac: set valid edmg in cfg80211_chan_def 2020-03-12 15:38:57 +02:00
qlink_util.h qtnfmac: drop unnecessary TLVs from scan command 2020-02-12 18:16:48 +02:00
qlink.h qtnfmac: Replace zero-length array with flexible-array 2020-05-12 11:56:28 +03:00
qtn_hw_ids.h qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00
shm_ipc_defs.h qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00
shm_ipc.c qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00
shm_ipc.h qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00
switchdev.h qtnfmac: signal that all packets coming from device are already flooded 2019-11-20 09:42:59 +02:00
trans.c qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00
trans.h qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00
util.c qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00
util.h qtnfmac: convert to SPDX license identifiers 2019-02-01 14:12:02 +02:00