]> git.baikalelectronics.ru Git - kernel.git/commit
brcmfmac: Simplify and fix usage of brcmf_ifname.
authorHante Meuleman <meuleman@broadcom.com>
Thu, 29 Oct 2015 19:33:12 +0000 (20:33 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 26 Nov 2015 11:53:08 +0000 (13:53 +0200)
commite79b102b251e0b5c0a86e977c516b087af2763f3
treedac83e81553e038d5065cbee0750260172588ef5
parent83a1c9d534cc1c6f1998dbc614fc8bfe7be7731f
brcmfmac: Simplify and fix usage of brcmf_ifname.

brcmf_ifname is a debug function to return a name related to an ifp,
but is using a rather complex implementation. It was also used
wrongly from bcdc as it did not use the bsscfgidx as it was supposed
to, but bssidx. This patch fixes that bug and simplifies
brcmf_ifname.

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: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.h