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