if (strConnectInfo.u16ConnectStatus == SUCCESSFUL_STATUSCODE) {
if (pstrConnectRespInfo->ies) {
strConnectInfo.u16RespIEsLen = pstrConnectRespInfo->ies_len;
- strConnectInfo.pu8RespIEs = kmalloc(pstrConnectRespInfo->ies_len, GFP_KERNEL);
- memcpy(strConnectInfo.pu8RespIEs, pstrConnectRespInfo->ies,
+ strConnectInfo.resp_ies = kmalloc(pstrConnectRespInfo->ies_len, GFP_KERNEL);
+ memcpy(strConnectInfo.resp_ies, pstrConnectRespInfo->ies,
pstrConnectRespInfo->ies_len);
}
}
scan_while_connected = false;
}
- kfree(strConnectInfo.pu8RespIEs);
- strConnectInfo.pu8RespIEs = NULL;
+ kfree(strConnectInfo.resp_ies);
+ strConnectInfo.resp_ies = NULL;
kfree(strConnectInfo.req_ies);
strConnectInfo.req_ies = NULL;
cfg80211_connect_result(dev, pstrConnectInfo->bssid,
pstrConnectInfo->req_ies, pstrConnectInfo->req_ies_len,
- pstrConnectInfo->pu8RespIEs, pstrConnectInfo->u16RespIEsLen,
+ pstrConnectInfo->resp_ies, pstrConnectInfo->u16RespIEsLen,
u16ConnectStatus, GFP_KERNEL);
} else if (enuConnDisconnEvent == CONN_DISCONN_EVENT_DISCONN_NOTIF) {
wilc_optaining_ip = false;