brcmfmac: fix invalid ifp lookup in firmware-signalling
authorHante Meuleman <meuleman@broadcom.com>
Thu, 6 Jun 2013 11:17:57 +0000 (13:17 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 12 Jun 2013 19:02:19 +0000 (15:02 -0400)
commit402e3ba20285f0ebe4f4bebdecb7ab24999f3626
tree4b05bfe0a92ae90f61f9d85b761e64de14a41524
parent5cd51c2bad56625e4447739426845cfa37fc11a5
brcmfmac: fix invalid ifp lookup in firmware-signalling

The destination entries for firmware-signalled flow control have
the interface id stored. This needs to be translated to bsscfg
index when looking up the ifp object for the interface.

Reviewed-by: Arend Van Spriel <arend@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/fwsignal.c