|
@@ -562,7 +562,7 @@ static void CfgConnectResult(tenuConnDisconnEvent enuConnDisconnEvent,
|
|
|
* = SUCCESSFUL_STATUSCODE, while mac status is MAC_DISCONNECTED (which means something wrong happened) */
|
|
|
u16ConnectStatus = WLAN_STATUS_UNSPECIFIED_FAILURE;
|
|
|
linux_wlan_set_bssid(priv->dev, NullBssid);
|
|
|
- memset(u8ConnectedSSID, 0, ETH_ALEN);
|
|
|
+ eth_zero_addr(u8ConnectedSSID);
|
|
|
|
|
|
/*Invalidate u8WLANChannel value on wlan0 disconnect*/
|
|
|
if (!pstrWFIDrv->u8P2PConnect)
|
|
@@ -619,9 +619,9 @@ static void CfgConnectResult(tenuConnDisconnEvent enuConnDisconnEvent,
|
|
|
u8P2Plocalrandom = 0x01;
|
|
|
u8P2Precvrandom = 0x00;
|
|
|
bWilc_ie = false;
|
|
|
- memset(priv->au8AssociatedBss, 0, ETH_ALEN);
|
|
|
+ eth_zero_addr(priv->au8AssociatedBss);
|
|
|
linux_wlan_set_bssid(priv->dev, NullBssid);
|
|
|
- memset(u8ConnectedSSID, 0, ETH_ALEN);
|
|
|
+ eth_zero_addr(u8ConnectedSSID);
|
|
|
|
|
|
/*Invalidate u8WLANChannel value on wlan0 disconnect*/
|
|
|
if (!pstrWFIDrv->u8P2PConnect)
|