OpenCloudOS-Kernel/drivers/net/wireless/brcm80211/brcmfmac
Arend van Spriel 40b503c764 brcmfmac: make brcmf_p2p_detach() call conditional
During verification of error handling in brcmf_cfg80211_attach() a
null pointer dereference occurred upon calling brcmf_p2p_detach()
from brcmf_detach(). This should only be called when the
brcmf_cfg80211_attach() has succeeded.

Fixes: f7a40873d2 ("brcmfmac: assure p2pdev is unregistered upon driver unload")
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2015-06-16 11:35:10 +03:00
..
Makefile brcmfmac: (clean) Rename sdio related files. 2014-10-30 15:26:48 -04:00
bcdc.c brcmfmac: (clean) Rename sdio related files. 2014-10-30 15:26:48 -04:00
bcdc.h brcmfmac: conditionally compile firmware protocol source code 2014-09-15 15:09:26 -04:00
bcmsdh.c brcmfmac: have sdio return -EIO when device communication is not possible 2015-06-15 12:55:22 +03:00
btcoex.c brcmfmac: (clean) Rename sdio related files. 2014-10-30 15:26:48 -04:00
btcoex.h brcmfmac: support critical protocol API for DHCP 2013-04-23 14:16:52 -04:00
bus.h brcmfmac: Reopen netdev queue on bus state data. 2015-01-29 09:59:05 +02:00
cfg80211.c brcmfmac: assure p2pdev is unregistered upon driver unload 2015-06-15 12:55:25 +03:00
cfg80211.h brcmfmac: enable 802.11d support in firmware 2015-01-06 20:30:16 +02:00
chip.c brcmfmac: add support for BCM4358 PCIe device 2015-05-09 16:26:56 +03:00
chip.h brcmfmac: extract ram size info from internal memory registers 2015-03-13 16:10:33 +02:00
common.c brcmfmac: store revinfo retrieval result 2015-01-29 09:59:17 +02:00
common.h brcmfmac: signal completion of 802.1x. 2015-01-06 20:29:57 +02:00
commonring.c brcmfmac: Update msgbuf read pointer quicker. 2015-06-15 12:42:25 +03:00
commonring.h brcmfmac: Update msgbuf read pointer quicker. 2015-06-15 12:42:25 +03:00
core.c brcmfmac: make brcmf_p2p_detach() call conditional 2015-06-16 11:35:10 +03:00
core.h brcmfmac: store revinfo retrieval result 2015-01-29 09:59:17 +02:00
debug.c brcmfmac: use debugfs_create_devm_seqfile() helper function 2015-06-15 12:42:29 +03:00
debug.h brcmfmac: (clean) Rename files dhd_dbg to debug 2014-10-30 15:26:44 -04:00
feature.c brcmfmac: Check if firmware supports p2p 2015-06-15 12:55:19 +03:00
feature.h brcmfmac: Check if firmware supports p2p 2015-06-15 12:55:19 +03:00
firmware.c brcmfmac: use direct data pointer in NVRAM parser struct 2015-06-08 14:31:11 +03:00
firmware.h brcmfmac: Add support for multiple PCIE devices in nvram. 2015-05-09 16:26:58 +03:00
flowring.c brcmfmac: Improve throughput by scheduling msbug flow worker. 2015-05-26 14:09:54 +03:00
flowring.h brcmfmac: Improve throughput by scheduling msbug flow worker. 2015-05-26 14:09:54 +03:00
fweh.c brcmfmac: add multiple BSS support. 2014-12-04 11:35:03 -05:00
fweh.h brcmfmac: handle IF event for P2P_DEVICE interface 2014-09-15 15:09:26 -04:00
fwil.c brcmfmac: SDIO: avoid using bus state for private states. 2015-01-29 09:59:03 +02:00
fwil.h brcmfmac: determine chip info when not provided by bus layer 2015-01-29 09:59:11 +02:00
fwil_types.h brcmfmac: rework .get_station() callback 2015-06-15 12:55:21 +03:00
fwsignal.c brcmfmac: avoid gcc-5.1 warning 2015-05-26 13:53:48 +03:00
fwsignal.h brcmfmac: Take bus flowcontrol at credit mgmt into account. 2013-06-12 15:02:16 -04:00
msgbuf.c brcmfmac: Update msgbuf read pointer quicker. 2015-06-15 12:42:25 +03:00
msgbuf.h brcmfmac: Update msgbuf commonring size for improved throughput. 2015-03-20 09:03:39 +02:00
of.c brcmfmac: allow device tree node without 'interrupts' property 2015-05-26 14:09:53 +03:00
of.h brcmfmac: add device tree support for SDIO devices 2014-07-29 10:32:56 -04:00
p2p.c brcmfmac: fix double free of p2pdev interface 2015-06-16 11:35:09 +03:00
p2p.h cfg80211: pass name_assign_type to rdev_add_virtual_intf() 2015-03-30 10:36:17 +02:00
pcie.c brcmfmac: remove watchdog reset from brcmf_pcie_buscoreprep() 2015-06-15 12:42:28 +03:00
pcie.h brcmfmac: Adding PCIe bus layer support. 2014-07-31 13:45:26 -04:00
proto.c brcmfmac: (clean) Rename sdio related files. 2014-10-30 15:26:48 -04:00
proto.h brcmfmac: Add TDLS support to msgbuf. 2014-07-31 13:45:29 -04:00
sdio.c brcmfmac: have sdio return -EIO when device communication is not possible 2015-06-15 12:55:22 +03:00
sdio.h brcmfmac: make sdio suspend wait for threads to freeze 2015-02-26 15:14:19 +02:00
tracepoint.c brcmfmac: (clean) Move tracepoint related function. 2014-10-30 15:26:38 -04:00
tracepoint.h brcmfmac: Use consistent naming for BCDC. 2013-12-02 14:25:25 -05:00
usb.c brcmfmac: check result of USB firmware request 2015-05-09 17:00:46 +03:00
usb.h brcmfmac: usb suspend/resume. 2012-11-16 14:28:47 -05:00
vendor.c brcmfmac: Perform bound checking on vendor command buffer 2015-03-07 10:52:30 +02:00
vendor.h brcmfmac: replace cfg80211 testmode with vendor command 2014-06-25 15:32:48 -04:00