brcmfmac: add brcmf_p2p_detach() call in brcmf_cfg80211_detach()
authorArend van Spriel <arend@broadcom.com>
Sat, 12 Jul 2014 06:49:42 +0000 (08:49 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 15 Jul 2014 20:00:16 +0000 (16:00 -0400)
commitc3da74bbbb8b230ad8bb84ca324c4e07607c9a7f
treec9d1132418e4302ddbc80afa7d3d9d5c8e789994
parentb48d891676f756d48b4d0ee131e4a7a5d43ca417
brcmfmac: add brcmf_p2p_detach() call in brcmf_cfg80211_detach()

The function brcmf_p2p_detach() was only called in error flow of the
brcmf_cfg80211_attach() routine, but it also needs to be called
upon brcmf_cfg80211_detach().

Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c