brcmfmac: use struct brcmf_if as interface object for fwil functions
authorArend van Spriel <arend@broadcom.com>
Mon, 22 Oct 2012 17:36:23 +0000 (10:36 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 29 Oct 2012 19:28:27 +0000 (15:28 -0400)
commitac24be6fe6593564be99a88e41cddc6c0fc1899f
tree972f421bb64ce8c8fe0392c37f7c6efff64e9eb8
parent6e186166ea0259f7ef9cb2393317126003c13680
brcmfmac: use struct brcmf_if as interface object for fwil functions

The functions for communicating were given the net_device only because
its private data contained struct brcmf_if object. However, not all
firmware related interfaces will be associated with a net_device. To
accomodate provisioning firmware for such interfaces the struct
brcmf_if object will be passed to the fwil functions.

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