staging: wilc1000: fixes alignment should match open parenthesis
This patch fixes the checks reported by checkpatch.pl for alignment should match open parenthesis. Signed-off-by: Leo Kim <leo.kim@atmel.com> Signed-off-by: Tony Cho <tony.cho@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
771788078a
commit
8c8360b3f9
1 changed files with 78 additions and 75 deletions
|
@ -1014,7 +1014,8 @@ static s32 Handle_Connect(struct host_if_drv *hif_drv,
|
|||
hif_drv->strWILC_UsrConnReq.ssidLen = pstrHostIFconnectAttr->ssid_len;
|
||||
if (pstrHostIFconnectAttr->ssid != NULL) {
|
||||
hif_drv->strWILC_UsrConnReq.pu8ssid = kmalloc(pstrHostIFconnectAttr->ssid_len + 1, GFP_KERNEL);
|
||||
memcpy(hif_drv->strWILC_UsrConnReq.pu8ssid, pstrHostIFconnectAttr->ssid,
|
||||
memcpy(hif_drv->strWILC_UsrConnReq.pu8ssid,
|
||||
pstrHostIFconnectAttr->ssid,
|
||||
pstrHostIFconnectAttr->ssid_len);
|
||||
hif_drv->strWILC_UsrConnReq.pu8ssid[pstrHostIFconnectAttr->ssid_len] = '\0';
|
||||
}
|
||||
|
@ -1022,7 +1023,8 @@ static s32 Handle_Connect(struct host_if_drv *hif_drv,
|
|||
hif_drv->strWILC_UsrConnReq.ConnReqIEsLen = pstrHostIFconnectAttr->ies_len;
|
||||
if (pstrHostIFconnectAttr->ies != NULL) {
|
||||
hif_drv->strWILC_UsrConnReq.pu8ConnReqIEs = kmalloc(pstrHostIFconnectAttr->ies_len, GFP_KERNEL);
|
||||
memcpy(hif_drv->strWILC_UsrConnReq.pu8ConnReqIEs, pstrHostIFconnectAttr->ies,
|
||||
memcpy(hif_drv->strWILC_UsrConnReq.pu8ConnReqIEs,
|
||||
pstrHostIFconnectAttr->ies,
|
||||
pstrHostIFconnectAttr->ies_len);
|
||||
}
|
||||
|
||||
|
@ -3378,10 +3380,10 @@ s32 host_int_set_pmkid_info(struct host_if_drv *hif_drv, struct host_if_pmkid_at
|
|||
msg.drv = hif_drv;
|
||||
|
||||
for (i = 0; i < pu8PmkidInfoArray->numpmkid; i++) {
|
||||
memcpy(msg.body.key_info.attr.pmkid.pmkidlist[i].bssid, &pu8PmkidInfoArray->pmkidlist[i].bssid,
|
||||
ETH_ALEN);
|
||||
memcpy(msg.body.key_info.attr.pmkid.pmkidlist[i].pmkid, &pu8PmkidInfoArray->pmkidlist[i].pmkid,
|
||||
PMKID_LEN);
|
||||
memcpy(msg.body.key_info.attr.pmkid.pmkidlist[i].bssid,
|
||||
&pu8PmkidInfoArray->pmkidlist[i].bssid, ETH_ALEN);
|
||||
memcpy(msg.body.key_info.attr.pmkid.pmkidlist[i].pmkid,
|
||||
&pu8PmkidInfoArray->pmkidlist[i].pmkid, PMKID_LEN);
|
||||
}
|
||||
|
||||
result = wilc_mq_send(&hif_msg_q, &msg, sizeof(struct host_if_msg));
|
||||
|
@ -3625,7 +3627,8 @@ s32 host_int_disconnect_station(struct host_if_drv *hif_drv, u8 assoc_id)
|
|||
return 0;
|
||||
}
|
||||
|
||||
s32 host_int_get_assoc_req_info(struct host_if_drv *hif_drv, u8 *pu8AssocReqInfo,
|
||||
s32 host_int_get_assoc_req_info(struct host_if_drv *hif_drv,
|
||||
u8 *pu8AssocReqInfo,
|
||||
u32 u32AssocReqInfoLen)
|
||||
{
|
||||
struct wid strWID;
|
||||
|
@ -3638,8 +3641,10 @@ s32 host_int_get_assoc_req_info(struct host_if_drv *hif_drv, u8 *pu8AssocReqInfo
|
|||
return 0;
|
||||
}
|
||||
|
||||
s32 host_int_get_assoc_res_info(struct host_if_drv *hif_drv, u8 *pu8AssocRespInfo,
|
||||
u32 u32MaxAssocRespInfoLen, u32 *pu32RcvdAssocRespInfoLen)
|
||||
s32 host_int_get_assoc_res_info(struct host_if_drv *hif_drv,
|
||||
u8 *pu8AssocRespInfo,
|
||||
u32 u32MaxAssocRespInfoLen,
|
||||
u32 *pu32RcvdAssocRespInfoLen)
|
||||
{
|
||||
s32 result = 0;
|
||||
struct wid strWID;
|
||||
|
@ -3667,7 +3672,8 @@ s32 host_int_get_assoc_res_info(struct host_if_drv *hif_drv, u8 *pu8AssocRespInf
|
|||
return result;
|
||||
}
|
||||
|
||||
s32 host_int_get_rx_power_level(struct host_if_drv *hif_drv, u8 *pu8RxPowerLevel,
|
||||
s32 host_int_get_rx_power_level(struct host_if_drv *hif_drv,
|
||||
u8 *pu8RxPowerLevel,
|
||||
u32 u32RxPowerLevelLen)
|
||||
{
|
||||
struct wid strWID;
|
||||
|
@ -3797,10 +3803,7 @@ s32 host_int_get_inactive_time(struct host_if_drv *hif_drv,
|
|||
}
|
||||
|
||||
memset(&msg, 0, sizeof(struct host_if_msg));
|
||||
|
||||
|
||||
memcpy(msg.body.mac_info.mac,
|
||||
mac, ETH_ALEN);
|
||||
memcpy(msg.body.mac_info.mac, mac, ETH_ALEN);
|
||||
|
||||
msg.id = HOST_IF_MSG_GET_INACTIVETIME;
|
||||
msg.drv = hif_drv;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue