brcmfmac: change mac address parameter in brcmf_add_if()
authorArend van Spriel <arend@broadcom.com>
Thu, 15 Nov 2012 02:46:11 +0000 (18:46 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 16 Nov 2012 19:28:51 +0000 (14:28 -0500)
commit9bcb74f919db1965fa74393d4b545e7b489e91fb
treed9b565281c3563dfa633f13e35d9aeb5d58fc687
parent607d5c0ef6c4d3a2e7a61ba1b62baa0712366bc0
brcmfmac: change mac address parameter in brcmf_add_if()

The function brcmf_add_if() is called with mac address set to NULL
for the primary interface. When handling IF ADD events the firmware
provides a address mask in the event to derive its mac address from
the primary mac address. Rename the parameter and use it as a mask.

Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c