diff options
Diffstat (limited to 'drivers/net/wireless/b43legacy/main.c')
-rw-r--r-- | drivers/net/wireless/b43legacy/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/b43legacy/main.c b/drivers/net/wireless/b43legacy/main.c index 4e58c0069830..c77b7f59505c 100644 --- a/drivers/net/wireless/b43legacy/main.c +++ b/drivers/net/wireless/b43legacy/main.c | |||
@@ -2866,7 +2866,7 @@ static void b43legacy_op_bss_info_changed(struct ieee80211_hw *hw, | |||
2866 | if (conf->bssid) | 2866 | if (conf->bssid) |
2867 | memcpy(wl->bssid, conf->bssid, ETH_ALEN); | 2867 | memcpy(wl->bssid, conf->bssid, ETH_ALEN); |
2868 | else | 2868 | else |
2869 | memset(wl->bssid, 0, ETH_ALEN); | 2869 | eth_zero_addr(wl->bssid); |
2870 | } | 2870 | } |
2871 | 2871 | ||
2872 | if (b43legacy_status(dev) >= B43legacy_STAT_INITIALIZED) { | 2872 | if (b43legacy_status(dev) >= B43legacy_STAT_INITIALIZED) { |
@@ -3470,7 +3470,7 @@ static void b43legacy_op_remove_interface(struct ieee80211_hw *hw, | |||
3470 | 3470 | ||
3471 | spin_lock_irqsave(&wl->irq_lock, flags); | 3471 | spin_lock_irqsave(&wl->irq_lock, flags); |
3472 | b43legacy_adjust_opmode(dev); | 3472 | b43legacy_adjust_opmode(dev); |
3473 | memset(wl->mac_addr, 0, ETH_ALEN); | 3473 | eth_zero_addr(wl->mac_addr); |
3474 | b43legacy_upload_card_macaddress(dev); | 3474 | b43legacy_upload_card_macaddress(dev); |
3475 | spin_unlock_irqrestore(&wl->irq_lock, flags); | 3475 | spin_unlock_irqrestore(&wl->irq_lock, flags); |
3476 | 3476 | ||
@@ -3487,8 +3487,8 @@ static int b43legacy_op_start(struct ieee80211_hw *hw) | |||
3487 | /* Kill all old instance specific information to make sure | 3487 | /* Kill all old instance specific information to make sure |
3488 | * the card won't use it in the short timeframe between start | 3488 | * the card won't use it in the short timeframe between start |
3489 | * and mac80211 reconfiguring it. */ | 3489 | * and mac80211 reconfiguring it. */ |
3490 | memset(wl->bssid, 0, ETH_ALEN); | 3490 | eth_zero_addr(wl->bssid); |
3491 | memset(wl->mac_addr, 0, ETH_ALEN); | 3491 | eth_zero_addr(wl->mac_addr); |
3492 | wl->filter_flags = 0; | 3492 | wl->filter_flags = 0; |
3493 | wl->beacon0_uploaded = false; | 3493 | wl->beacon0_uploaded = false; |
3494 | wl->beacon1_uploaded = false; | 3494 | wl->beacon1_uploaded = false; |