brcmfmac: use memset when setting a broadcast mac address
authorArend van Spriel <arend@broadcom.com>
Mon, 22 Oct 2012 20:55:38 +0000 (13:55 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 29 Oct 2012 19:28:54 +0000 (15:28 -0400)
commitba40d16696c86165744c89e0dae649df78dd82f4
treeeee772b46b88bd160775d23bf0803e20d4ddd06c
parentce81e3175ed5b86b19ef068246fc2c829aff84d5
brcmfmac: use memset when setting a broadcast mac address

The driver had a global constant ether_bcast, which was copied
whenever a broadcast mac address was needed. This patch does a
memset(dest, 0xFF, ETH_ALEN) instead and consequently removes
the global ether_bcast.

Reviewed-by: Pieter-Paul Giesberts <pieterpg@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/wl_cfg80211.c