]> git.karo-electronics.de Git - linux-beck.git/commit
brcmfmac: call brcmf_cfg80211_detach() after removal of interfaces
authorArend van Spriel <arend@broadcom.com>
Mon, 6 Jan 2014 11:40:48 +0000 (12:40 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 6 Jan 2014 20:48:05 +0000 (15:48 -0500)
commite14799514da335159879bb8c37d5c4491357b0b4
treedbba3eded94860ed9b6c1faa0a300e0537ab94b6
parent427dec5fc84d6d99f433a6eb008e97aea1757cfb
brcmfmac: call brcmf_cfg80211_detach() after removal of interfaces

Instead of calling brcmf_cfg80211_detach() in brcmf_del_if() when
deleting the primary interface, call it in brcmf_detach() after
deleting all interfaces.

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/dhd_linux.c
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c