brcmfmac: free ifp for non-netdev interface in p2p module
authorArend van Spriel <arend@broadcom.com>
Wed, 10 Jun 2015 22:12:21 +0000 (00:12 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 15 Jun 2015 09:55:23 +0000 (12:55 +0300)
commitf37d69a4babc4609045b96521736bf2772b711af
treee1f21f7f4eb6413ca54b3f2166acfe5287e184a4
parent5768f31e4e75e38d9101252aabe8ec7dc826da25
brcmfmac: free ifp for non-netdev interface in p2p module

Making it more clear by freeing the ifp in same place where the
vif object is freed.

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