brcmfmac: add additional parameter to brcmf_free_vif()
authorArend van Spriel <arend@broadcom.com>
Mon, 27 May 2013 19:09:55 +0000 (21:09 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 28 May 2013 17:43:09 +0000 (13:43 -0400)
commit24e28beef939df8666a5d2784d6617cd9bb910a0
tree6ee01a05babb7d336390ab701ac44e98c86fc88e
parent15a953d0919e3e7c94691ecabd0d9f74373f19aa
brcmfmac: add additional parameter to brcmf_free_vif()

Pass the struct brcmf_cfg80211_info instance instead of obtaining
through vif itself using vif->wdev. This is needed as the netdev
associated with this vif is already unregistered.

Reviewed-by: Hante Meuleman <meuleman@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/p2p.c
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.h