brcmfmac: Fix ifidx for rx data by msgbuf.
authorHante Meuleman <meuleman@broadcom.com>
Wed, 3 Dec 2014 20:05:28 +0000 (21:05 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 4 Dec 2014 16:35:02 +0000 (11:35 -0500)
commit94a612086f5e78272e831c04b673778f8546ea73
tree41250b5d33753da33a167aa65e94dfc6ce6c1c18
parent333c2aa029b847051a2db76a6ca59f699a520030
brcmfmac: Fix ifidx for rx data by msgbuf.

The ifidx provided by FW needs to be offsetted when receiving data
packets.

Cc: stable@vger.kernel.org # v3.17, v3.18
Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-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/msgbuf.c