brcmfmac: Ignore E_ADD_IF for ifidx 0.
authorHante Meuleman <meuleman@broadcom.com>
Fri, 8 Feb 2013 14:53:55 +0000 (15:53 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 8 Feb 2013 19:51:41 +0000 (14:51 -0500)
commitcdcef36b3fe27c24f8e2cc22d256bcde88018ea4
tree416c1c60e1eb14c67626793c743103d9dd8c1b7e
parent0a4cf487ffdc3a4e7b55e538cd05ef63539a9c20
brcmfmac: Ignore E_ADD_IF for ifidx 0.

All interfaces for ifidx is 0 are created ahead and therefor
double registrations for not only bssidx 0, but ifidx 0 should
be ignored in brcfm_add_if.

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/dhd_linux.c