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

staging: wilc1000: rename pstrRcvdNetworkInfo to avoid camelCase

Fix "Avoid camelCase" issue found 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 8583fd8b
...@@ -1245,7 +1245,7 @@ static s32 handle_connect_timeout(struct wilc_vif *vif) ...@@ -1245,7 +1245,7 @@ static s32 handle_connect_timeout(struct wilc_vif *vif)
} }
static s32 Handle_RcvdNtwrkInfo(struct wilc_vif *vif, static s32 Handle_RcvdNtwrkInfo(struct wilc_vif *vif,
struct rcvd_net_info *pstrRcvdNetworkInfo) struct rcvd_net_info *rcvd_info)
{ {
u32 i; u32 i;
bool bNewNtwrkFound; bool bNewNtwrkFound;
...@@ -1257,7 +1257,7 @@ static s32 Handle_RcvdNtwrkInfo(struct wilc_vif *vif, ...@@ -1257,7 +1257,7 @@ static s32 Handle_RcvdNtwrkInfo(struct wilc_vif *vif,
bNewNtwrkFound = true; bNewNtwrkFound = true;
if (hif_drv->usr_scan_req.scan_result) { if (hif_drv->usr_scan_req.scan_result) {
wilc_parse_network_info(pstrRcvdNetworkInfo->buffer, &pstrNetworkInfo); wilc_parse_network_info(rcvd_info->buffer, &pstrNetworkInfo);
if (!pstrNetworkInfo || if (!pstrNetworkInfo ||
!hif_drv->usr_scan_req.scan_result) { !hif_drv->usr_scan_req.scan_result) {
netdev_err(vif->ndev, "driver is null\n"); netdev_err(vif->ndev, "driver is null\n");
...@@ -1302,8 +1302,8 @@ static s32 Handle_RcvdNtwrkInfo(struct wilc_vif *vif, ...@@ -1302,8 +1302,8 @@ static s32 Handle_RcvdNtwrkInfo(struct wilc_vif *vif,
} }
done: done:
kfree(pstrRcvdNetworkInfo->buffer); kfree(rcvd_info->buffer);
pstrRcvdNetworkInfo->buffer = NULL; rcvd_info->buffer = NULL;
if (pstrNetworkInfo) { if (pstrNetworkInfo) {
kfree(pstrNetworkInfo->ies); kfree(pstrNetworkInfo->ies);
......
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