Commit 6abcc11d authored by Leo Kim's avatar Leo Kim Committed by Greg Kroah-Hartman

staging: wilc1000: rename pfConnectResult of struct connect_attr

This patch renames pfConnectResult of struct connect_attr to result to
avoid CamelCase naming convention.
Signed-off-by: default avatarLeo Kim <leo.kim@atmel.com>
Signed-off-by: default avatarTony Cho <tony.cho@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a64fd677
...@@ -114,7 +114,7 @@ struct connect_attr { ...@@ -114,7 +114,7 @@ struct connect_attr {
u8 *ies; u8 *ies;
size_t ies_len; size_t ies_len;
u8 security; u8 security;
wilc_connect_result pfConnectResult; wilc_connect_result result;
void *pvUserArg; void *pvUserArg;
enum AUTHTYPE tenuAuth_type; enum AUTHTYPE tenuAuth_type;
u8 u8channel; u8 u8channel;
...@@ -1053,7 +1053,7 @@ static s32 Handle_Connect(struct host_if_drv *hif_drv, ...@@ -1053,7 +1053,7 @@ static s32 Handle_Connect(struct host_if_drv *hif_drv,
hif_drv->strWILC_UsrConnReq.u8security = pstrHostIFconnectAttr->security; hif_drv->strWILC_UsrConnReq.u8security = pstrHostIFconnectAttr->security;
hif_drv->strWILC_UsrConnReq.tenuAuth_type = pstrHostIFconnectAttr->tenuAuth_type; hif_drv->strWILC_UsrConnReq.tenuAuth_type = pstrHostIFconnectAttr->tenuAuth_type;
hif_drv->strWILC_UsrConnReq.pfUserConnectResult = pstrHostIFconnectAttr->pfConnectResult; hif_drv->strWILC_UsrConnReq.pfUserConnectResult = pstrHostIFconnectAttr->result;
hif_drv->strWILC_UsrConnReq.u32UserConnectPvoid = pstrHostIFconnectAttr->pvUserArg; hif_drv->strWILC_UsrConnReq.u32UserConnectPvoid = pstrHostIFconnectAttr->pvUserArg;
strWIDList[u32WidsCount].id = WID_SUCCESS_FRAME_COUNT; strWIDList[u32WidsCount].id = WID_SUCCESS_FRAME_COUNT;
...@@ -1258,7 +1258,7 @@ static s32 Handle_Connect(struct host_if_drv *hif_drv, ...@@ -1258,7 +1258,7 @@ static s32 Handle_Connect(struct host_if_drv *hif_drv,
memset(&strConnectInfo, 0, sizeof(tstrConnectInfo)); memset(&strConnectInfo, 0, sizeof(tstrConnectInfo));
if (pstrHostIFconnectAttr->pfConnectResult != NULL) { if (pstrHostIFconnectAttr->result != NULL) {
if (pstrHostIFconnectAttr->bssid != NULL) if (pstrHostIFconnectAttr->bssid != NULL)
memcpy(strConnectInfo.au8bssid, pstrHostIFconnectAttr->bssid, 6); memcpy(strConnectInfo.au8bssid, pstrHostIFconnectAttr->bssid, 6);
...@@ -1270,7 +1270,7 @@ static s32 Handle_Connect(struct host_if_drv *hif_drv, ...@@ -1270,7 +1270,7 @@ static s32 Handle_Connect(struct host_if_drv *hif_drv,
pstrHostIFconnectAttr->ies_len); pstrHostIFconnectAttr->ies_len);
} }
pstrHostIFconnectAttr->pfConnectResult(CONN_DISCONN_EVENT_CONN_RESP, pstrHostIFconnectAttr->result(CONN_DISCONN_EVENT_CONN_RESP,
&strConnectInfo, &strConnectInfo,
MAC_DISCONNECTED, MAC_DISCONNECTED,
NULL, NULL,
...@@ -3614,7 +3614,7 @@ s32 host_int_set_join_req(struct host_if_drv *hif_drv, u8 *pu8bssid, ...@@ -3614,7 +3614,7 @@ s32 host_int_set_join_req(struct host_if_drv *hif_drv, u8 *pu8bssid,
msg.body.con_info.security = u8security; msg.body.con_info.security = u8security;
msg.body.con_info.tenuAuth_type = tenuAuth_type; msg.body.con_info.tenuAuth_type = tenuAuth_type;
msg.body.con_info.u8channel = u8channel; msg.body.con_info.u8channel = u8channel;
msg.body.con_info.pfConnectResult = pfConnectResult; msg.body.con_info.result = pfConnectResult;
msg.body.con_info.pvUserArg = pvUserArg; msg.body.con_info.pvUserArg = pvUserArg;
msg.body.con_info.pJoinParams = pJoinParams; msg.body.con_info.pJoinParams = pJoinParams;
msg.drv = hif_drv ; msg.drv = hif_drv ;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment