diff options
author | Ajay Singh <ajay.kathat@microchip.com> | 2018-02-19 16:29:37 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-02-19 18:12:53 +0100 |
commit | 8583fd8b70b4fcacb2da21d08b54e68cf3804972 (patch) | |
tree | b8f5217e26bba05930d566f5481cbbd628ba884c /drivers | |
parent | staging: wilc1000: rename strHostIfStaInactiveT to avoid camelCase (diff) | |
download | linux-8583fd8b70b4fcacb2da21d08b54e68cf3804972.tar.xz linux-8583fd8b70b4fcacb2da21d08b54e68cf3804972.zip |
staging: wilc1000: rename pstrRcvdGnrlAsyncInfo to avoid camelCase
Fix "Avoid camelCase" issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/wilc1000/host_interface.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index f685da29963e..d489b27c4e10 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -1319,7 +1319,7 @@ static s32 host_int_get_assoc_res_info(struct wilc_vif *vif, u32 *rcvd_assoc_resp_info_len); static s32 Handle_RcvdGnrlAsyncInfo(struct wilc_vif *vif, - struct rcvd_async_info *pstrRcvdGnrlAsyncInfo) + struct rcvd_async_info *rcvd_info) { s32 result = 0; u8 u8MsgType = 0; @@ -1343,26 +1343,26 @@ static s32 Handle_RcvdGnrlAsyncInfo(struct wilc_vif *vif, if (hif_drv->hif_state == HOST_IF_WAITING_CONN_RESP || hif_drv->hif_state == HOST_IF_CONNECTED || hif_drv->usr_scan_req.scan_result) { - if (!pstrRcvdGnrlAsyncInfo->buffer || + if (!rcvd_info->buffer || !hif_drv->usr_conn_req.conn_result) { netdev_err(vif->ndev, "driver is null\n"); return -EINVAL; } - u8MsgType = pstrRcvdGnrlAsyncInfo->buffer[0]; + u8MsgType = rcvd_info->buffer[0]; if ('I' != u8MsgType) { netdev_err(vif->ndev, "Received Message incorrect.\n"); return -EFAULT; } - u8MsgID = pstrRcvdGnrlAsyncInfo->buffer[1]; - u16MsgLen = MAKE_WORD16(pstrRcvdGnrlAsyncInfo->buffer[2], pstrRcvdGnrlAsyncInfo->buffer[3]); - u16WidID = MAKE_WORD16(pstrRcvdGnrlAsyncInfo->buffer[4], pstrRcvdGnrlAsyncInfo->buffer[5]); - u8WidLen = pstrRcvdGnrlAsyncInfo->buffer[6]; - u8MacStatus = pstrRcvdGnrlAsyncInfo->buffer[7]; - u8MacStatusReasonCode = pstrRcvdGnrlAsyncInfo->buffer[8]; - u8MacStatusAdditionalInfo = pstrRcvdGnrlAsyncInfo->buffer[9]; + u8MsgID = rcvd_info->buffer[1]; + u16MsgLen = MAKE_WORD16(rcvd_info->buffer[2], rcvd_info->buffer[3]); + u16WidID = MAKE_WORD16(rcvd_info->buffer[4], rcvd_info->buffer[5]); + u8WidLen = rcvd_info->buffer[6]; + u8MacStatus = rcvd_info->buffer[7]; + u8MacStatusReasonCode = rcvd_info->buffer[8]; + u8MacStatusAdditionalInfo = rcvd_info->buffer[9]; if (hif_drv->hif_state == HOST_IF_WAITING_CONN_RESP) { u32 u32RcvdAssocRespInfoLen = 0; struct connect_resp_info *pstrConnectRespInfo = NULL; @@ -1519,8 +1519,8 @@ static s32 Handle_RcvdGnrlAsyncInfo(struct wilc_vif *vif, } } - kfree(pstrRcvdGnrlAsyncInfo->buffer); - pstrRcvdGnrlAsyncInfo->buffer = NULL; + kfree(rcvd_info->buffer); + rcvd_info->buffer = NULL; return result; } |