ath: Remove unnecessary ath_bcast_mac and use eth_broadcast_addr
Remove the static array and use the generic routine to set the Ethernet broadcast address. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
@@ -327,7 +327,7 @@ int ath5k_hw_init(struct ath5k_hw *ah)
|
||||
ath5k_hw_set_lladdr(ah, zero_mac);
|
||||
|
||||
/* Set BSSID to bcast address: ff:ff:ff:ff:ff:ff for now */
|
||||
memcpy(common->curbssid, ath_bcast_mac, ETH_ALEN);
|
||||
eth_broadcast_addr(common->curbssid);
|
||||
ath5k_hw_set_bssid(ah);
|
||||
ath5k_hw_set_opmode(ah, ah->opmode);
|
||||
|
||||
|
Reference in New Issue
Block a user