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:
@@ -428,7 +428,7 @@ static void ath9k_init_misc(struct ath_softc *sc)
|
||||
timer_setup(&common->ani.timer, ath_ani_calibrate, 0);
|
||||
|
||||
common->last_rssi = ATH_RSSI_DUMMY_MARKER;
|
||||
memcpy(common->bssidmask, ath_bcast_mac, ETH_ALEN);
|
||||
eth_broadcast_addr(common->bssidmask);
|
||||
sc->beacon.slottime = 9;
|
||||
|
||||
for (i = 0; i < ARRAY_SIZE(sc->beacon.bslot); i++)
|
||||
|
Reference in New Issue
Block a user