This patch renames pu8RespIEs to resp_ies to avoid camelcase. Signed-off-by: Chaehyun Lim <chaehyun.lim@xxxxxxxxx> --- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 8 ++++---- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/wilc1000/coreconfigurator.h b/drivers/staging/wilc1000/coreconfigurator.h index d26e597..bb4c256 100644 --- a/drivers/staging/wilc1000/coreconfigurator.h +++ b/drivers/staging/wilc1000/coreconfigurator.h @@ -109,7 +109,7 @@ struct connect_info { u8 bssid[6]; u8 *req_ies; size_t req_ies_len; - u8 *pu8RespIEs; + u8 *resp_ies; u16 u16RespIEsLen; u16 u16ConnectStatus; }; diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index dec3d08..c273935 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -1468,8 +1468,8 @@ static s32 Handle_RcvdGnrlAsyncInfo(struct wilc_vif *vif, 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); } } @@ -1530,8 +1530,8 @@ static s32 Handle_RcvdGnrlAsyncInfo(struct wilc_vif *vif, 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; diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c index f8cd128..7e10d34 100644 --- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c +++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c @@ -545,7 +545,7 @@ static void CfgConnectResult(enum conn_event enuConnDisconnEvent, 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; -- 2.7.1 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel