|
@@ -1566,7 +1566,6 @@ int rtw_set_auth(struct adapter *adapter, struct security_priv *psecuritypriv)
|
|
|
res = _FAIL;
|
|
|
goto exit;
|
|
|
}
|
|
|
- memset(psetauthparm, 0, sizeof(struct setauth_parm));
|
|
|
psetauthparm->mode = (unsigned char)psecuritypriv->dot11AuthAlgrthm;
|
|
|
pcmd->cmdcode = _SetAuth_CMD_;
|
|
|
pcmd->parmbuf = (unsigned char *)psetauthparm;
|
|
@@ -1601,8 +1600,6 @@ int rtw_set_key(struct adapter *adapter, struct security_priv *psecuritypriv, in
|
|
|
goto err_free_cmd;
|
|
|
}
|
|
|
|
|
|
- memset(psetkeyparm, 0, sizeof(struct setkey_parm));
|
|
|
-
|
|
|
if (psecuritypriv->dot11AuthAlgrthm == dot11AuthAlgrthm_8021X) {
|
|
|
psetkeyparm->algorithm = (unsigned char)psecuritypriv->dot118021XGrpPrivacy;
|
|
|
RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_,
|