Commit 3f501971 authored by Tony Cho's avatar Tony Cho Committed by Greg Kroah-Hartman

staging: wilc1000: rename strHostIFconnectAttr

This patch renames strHostIFconnectAttr to con_info to avoid CamelCase
naming convention.
Signed-off-by: default avatarTony Cho <tony.cho@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4528bdb5
...@@ -415,7 +415,7 @@ struct sta_inactive_t { ...@@ -415,7 +415,7 @@ struct sta_inactive_t {
*/ */
union message_body { union message_body {
struct scan_attr scan_info; struct scan_attr scan_info;
struct connect_attr strHostIFconnectAttr; struct connect_attr con_info;
struct rcvd_net_info strRcvdNetworkInfo; struct rcvd_net_info strRcvdNetworkInfo;
struct rcvd_async_info strRcvdGnrlAsyncInfo; struct rcvd_async_info strRcvdGnrlAsyncInfo;
struct key_attr strHostIFkeyAttr; struct key_attr strHostIFkeyAttr;
...@@ -4103,7 +4103,7 @@ static int hostIFthread(void *pvArg) ...@@ -4103,7 +4103,7 @@ static int hostIFthread(void *pvArg)
break; break;
case HOST_IF_MSG_CONNECT: case HOST_IF_MSG_CONNECT:
Handle_Connect(msg.drvHandler, &msg.body.strHostIFconnectAttr); Handle_Connect(msg.drvHandler, &msg.body.con_info);
break; break;
case HOST_IF_MSG_FLUSH_CONNECT: case HOST_IF_MSG_FLUSH_CONNECT:
...@@ -5084,32 +5084,32 @@ s32 host_int_set_join_req(tstrWILC_WFIDrv *hWFIDrv, u8 *pu8bssid, ...@@ -5084,32 +5084,32 @@ s32 host_int_set_join_req(tstrWILC_WFIDrv *hWFIDrv, u8 *pu8bssid,
msg.id = HOST_IF_MSG_CONNECT; msg.id = HOST_IF_MSG_CONNECT;
msg.body.strHostIFconnectAttr.u8security = u8security; msg.body.con_info.u8security = u8security;
msg.body.strHostIFconnectAttr.tenuAuth_type = tenuAuth_type; msg.body.con_info.tenuAuth_type = tenuAuth_type;
msg.body.strHostIFconnectAttr.u8channel = u8channel; msg.body.con_info.u8channel = u8channel;
msg.body.strHostIFconnectAttr.pfConnectResult = pfConnectResult; msg.body.con_info.pfConnectResult = pfConnectResult;
msg.body.strHostIFconnectAttr.pvUserArg = pvUserArg; msg.body.con_info.pvUserArg = pvUserArg;
msg.body.strHostIFconnectAttr.pJoinParams = pJoinParams; msg.body.con_info.pJoinParams = pJoinParams;
msg.drvHandler = hWFIDrv; msg.drvHandler = hWFIDrv;
if (pu8bssid != NULL) { if (pu8bssid != NULL) {
msg.body.strHostIFconnectAttr.pu8bssid = kmalloc(6, GFP_KERNEL); /* will be deallocated by the receiving thread */ msg.body.con_info.pu8bssid = kmalloc(6, GFP_KERNEL); /* will be deallocated by the receiving thread */
memcpy(msg.body.strHostIFconnectAttr.pu8bssid, memcpy(msg.body.con_info.pu8bssid,
pu8bssid, 6); pu8bssid, 6);
} }
if (pu8ssid != NULL) { if (pu8ssid != NULL) {
msg.body.strHostIFconnectAttr.ssidLen = ssidLen; msg.body.con_info.ssidLen = ssidLen;
msg.body.strHostIFconnectAttr.pu8ssid = kmalloc(ssidLen, GFP_KERNEL); /* will be deallocated by the receiving thread */ msg.body.con_info.pu8ssid = kmalloc(ssidLen, GFP_KERNEL); /* will be deallocated by the receiving thread */
memcpy(msg.body.strHostIFconnectAttr.pu8ssid, memcpy(msg.body.con_info.pu8ssid,
pu8ssid, ssidLen); pu8ssid, ssidLen);
} }
if (pu8IEs != NULL) { if (pu8IEs != NULL) {
msg.body.strHostIFconnectAttr.IEsLen = IEsLen; msg.body.con_info.IEsLen = IEsLen;
msg.body.strHostIFconnectAttr.pu8IEs = kmalloc(IEsLen, GFP_KERNEL); /* will be deallocated by the receiving thread */ msg.body.con_info.pu8IEs = kmalloc(IEsLen, GFP_KERNEL); /* will be deallocated by the receiving thread */
memcpy(msg.body.strHostIFconnectAttr.pu8IEs, memcpy(msg.body.con_info.pu8IEs,
pu8IEs, IEsLen); pu8IEs, IEsLen);
} }
if (pstrWFIDrv->enuHostIFstate < HOST_IF_CONNECTING) if (pstrWFIDrv->enuHostIFstate < HOST_IF_CONNECTING)
......
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