brcmfmac: make brcmf_proto_hdrpull() return struct brcmf_if instance
authorArend van Spriel <arend@broadcom.com>
Wed, 26 Aug 2015 20:14:54 +0000 (22:14 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 29 Sep 2015 07:28:30 +0000 (10:28 +0300)
commit796cfb65e3ed01a9b08e3a0b93e34120c54bbbd2
tree06859c5adc608d918d591dba1f0a45d6871b942c
parent75effb03ee8e4c9d4bbc909118ce5444b047dfde
brcmfmac: make brcmf_proto_hdrpull() return struct brcmf_if instance

Avoid spreading the ifidx in the driver, but have it return the
struct brcmf_if instance.

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/bcdc.c
drivers/net/wireless/brcm80211/brcmfmac/core.c
drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c
drivers/net/wireless/brcm80211/brcmfmac/msgbuf.c
drivers/net/wireless/brcm80211/brcmfmac/proto.h