diff options
author | Arend van Spriel <[email protected]> | 2015-06-15 22:48:39 +0200 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2015-06-16 11:35:10 +0300 |
commit | 40b503c76481aecf811a29a14a80c13b429b5e14 (patch) | |
tree | aa23af53a8c1dcd143de0bd5a6c36398ac529788 /tools/perf/scripts/python/Perf-Trace-Util/lib | |
parent | cb700df8c8a62061b573322c4d0b292a9010aa3c (diff) |
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: f7a40873d2fa ("brcmfmac: assure p2pdev is unregistered upon driver unload")
Reviewed-by: Hante Meuleman <[email protected]>
Reviewed-by: Franky (Zhenhui) Lin <[email protected]>
Reviewed-by: Pieter-Paul Giesberts <[email protected]>
Signed-off-by: Arend van Spriel <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions