Commit 9c037966 authored by Ajay Singh's avatar Ajay Singh Committed by Greg Kroah-Hartman

staging: wilc1000: rename host_int_get_assoc_res_info() parameters to avoid camelCase

Fix "Avoid camelCase" issues reported by checkpatch.pl script.
Signed-off-by: default avatarAjay Singh <ajay.kathat@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c8fe7976
...@@ -1314,9 +1314,9 @@ static s32 Handle_RcvdNtwrkInfo(struct wilc_vif *vif, ...@@ -1314,9 +1314,9 @@ static s32 Handle_RcvdNtwrkInfo(struct wilc_vif *vif,
} }
static s32 host_int_get_assoc_res_info(struct wilc_vif *vif, static s32 host_int_get_assoc_res_info(struct wilc_vif *vif,
u8 *pu8AssocRespInfo, u8 *assoc_resp_info,
u32 u32MaxAssocRespInfoLen, u32 max_assoc_resp_info_len,
u32 *pu32RcvdAssocRespInfoLen); u32 *rcvd_assoc_resp_info_len);
static s32 Handle_RcvdGnrlAsyncInfo(struct wilc_vif *vif, static s32 Handle_RcvdGnrlAsyncInfo(struct wilc_vif *vif,
struct rcvd_async_info *pstrRcvdGnrlAsyncInfo) struct rcvd_async_info *pstrRcvdGnrlAsyncInfo)
...@@ -3080,27 +3080,27 @@ int wilc_disconnect(struct wilc_vif *vif, u16 reason_code) ...@@ -3080,27 +3080,27 @@ int wilc_disconnect(struct wilc_vif *vif, u16 reason_code)
} }
static s32 host_int_get_assoc_res_info(struct wilc_vif *vif, static s32 host_int_get_assoc_res_info(struct wilc_vif *vif,
u8 *pu8AssocRespInfo, u8 *assoc_resp_info,
u32 u32MaxAssocRespInfoLen, u32 max_assoc_resp_info_len,
u32 *pu32RcvdAssocRespInfoLen) u32 *rcvd_assoc_resp_info_len)
{ {
s32 result = 0; s32 result = 0;
struct wid wid; struct wid wid;
wid.id = (u16)WID_ASSOC_RES_INFO; wid.id = (u16)WID_ASSOC_RES_INFO;
wid.type = WID_STR; wid.type = WID_STR;
wid.val = pu8AssocRespInfo; wid.val = assoc_resp_info;
wid.size = u32MaxAssocRespInfoLen; wid.size = max_assoc_resp_info_len;
result = wilc_send_config_pkt(vif, GET_CFG, &wid, 1, result = wilc_send_config_pkt(vif, GET_CFG, &wid, 1,
wilc_get_vif_idx(vif)); wilc_get_vif_idx(vif));
if (result) { if (result) {
*pu32RcvdAssocRespInfoLen = 0; *rcvd_assoc_resp_info_len = 0;
netdev_err(vif->ndev, "Failed to send association response\n"); netdev_err(vif->ndev, "Failed to send association response\n");
return -EINVAL; return -EINVAL;
} }
*pu32RcvdAssocRespInfoLen = wid.size; *rcvd_assoc_resp_info_len = wid.size;
return result; return result;
} }
......
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