Skip to content

Commit

Permalink
brcmfmac: Remove copy mac address from drvr at netdev up.
Browse files Browse the repository at this point in the history
At netdev up the mac address from drvr is copied to netdev mac
address. This is incorrect and mac address was already set by
brcmf_net_attach by copying it from ifp.

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>
  • Loading branch information
Hante Meuleman authored and John W. Linville committed Feb 8, 2013
1 parent 05dde97 commit 4412f6c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -567,8 +567,6 @@ static int brcmf_netdev_open(struct net_device *ndev)

atomic_set(&drvr->pend_8021x_cnt, 0);

memcpy(ndev->dev_addr, drvr->mac, ETH_ALEN);

/* Get current TOE mode from dongle */
if (brcmf_fil_iovar_int_get(ifp, "toe_ol", &toe_ol) >= 0
&& (toe_ol & TOE_TX_CSUM_OL) != 0)
Expand Down

0 comments on commit 4412f6c

Please sign in to comment.