brcm80211: fmac: register primary net device with device mac address
authorArend van Spriel <arend@broadcom.com>
Wed, 11 Apr 2012 09:52:45 +0000 (11:52 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 13 Apr 2012 18:32:52 +0000 (14:32 -0400)
commit474a64c80e2979bbc290a7eccf76e5694cbd5fee
tree73a04e62ae399bd18369e277987a3f0a0921ac9a
parent3625c149d60a70f039b34a45ddec67bbff4b7053
brcm80211: fmac: register primary net device with device mac address

The primary net device was registered with a primary mac address and
upon IFUP it was set to match the actual mac address from the device.
This patch changes that and moves the brcmf_add_if() call to the common
part of the driver.

Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Franky (Zhenhui) Lin <frankyl@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
drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c
drivers/net/wireless/brcm80211/brcmfmac/usb.c