aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/wext-sme.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/wireless/wext-sme.c')
-rw-r--r--net/wireless/wext-sme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/wext-sme.c b/net/wireless/wext-sme.c
index 368611c05739..a4e8af3321d2 100644
--- a/net/wireless/wext-sme.c
+++ b/net/wireless/wext-sme.c
@@ -322,7 +322,7 @@ int cfg80211_mgd_wext_giwap(struct net_device *dev,
322 if (wdev->current_bss) 322 if (wdev->current_bss)
323 memcpy(ap_addr->sa_data, wdev->current_bss->pub.bssid, ETH_ALEN); 323 memcpy(ap_addr->sa_data, wdev->current_bss->pub.bssid, ETH_ALEN);
324 else 324 else
325 memset(ap_addr->sa_data, 0, ETH_ALEN); 325 eth_zero_addr(ap_addr->sa_data);
326 wdev_unlock(wdev); 326 wdev_unlock(wdev);
327 327
328 return 0; 328 return 0;