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

staging: wilc1000: rename Handle_ScanDone function to avoid camelCase

Fix "Avoid camelCase" issue reported by checkpatch.pl.
Signed-off-by: default avatarAjay Singh <ajay.kathat@microchip.com>
Reviewed-by: default avatarClaudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e33ff51e
...@@ -267,7 +267,7 @@ static struct wilc_vif *join_req_vif; ...@@ -267,7 +267,7 @@ static struct wilc_vif *join_req_vif;
static void *host_int_parse_join_bss_param(struct network_info *info); static void *host_int_parse_join_bss_param(struct network_info *info);
static int host_int_get_ipaddress(struct wilc_vif *vif, u8 *ip_addr, u8 idx); static int host_int_get_ipaddress(struct wilc_vif *vif, u8 *ip_addr, u8 idx);
static s32 Handle_ScanDone(struct wilc_vif *vif, enum scan_event enuEvent); static s32 handle_scan_done(struct wilc_vif *vif, enum scan_event enuEvent);
static void host_if_work(struct work_struct *work); static void host_if_work(struct work_struct *work);
/*! /*!
...@@ -847,7 +847,7 @@ static s32 handle_scan(struct wilc_vif *vif, struct scan_attr *scan_info) ...@@ -847,7 +847,7 @@ static s32 handle_scan(struct wilc_vif *vif, struct scan_attr *scan_info)
ERRORHANDLER: ERRORHANDLER:
if (result) { if (result) {
del_timer(&hif_drv->scan_timer); del_timer(&hif_drv->scan_timer);
Handle_ScanDone(vif, SCAN_EVENT_ABORTED); handle_scan_done(vif, SCAN_EVENT_ABORTED);
} }
kfree(scan_info->ch_freq_list); kfree(scan_info->ch_freq_list);
...@@ -863,7 +863,7 @@ static s32 handle_scan(struct wilc_vif *vif, struct scan_attr *scan_info) ...@@ -863,7 +863,7 @@ static s32 handle_scan(struct wilc_vif *vif, struct scan_attr *scan_info)
return result; return result;
} }
static s32 Handle_ScanDone(struct wilc_vif *vif, static s32 handle_scan_done(struct wilc_vif *vif,
enum scan_event enuEvent) enum scan_event enuEvent)
{ {
s32 result = 0; s32 result = 0;
...@@ -1467,7 +1467,7 @@ static s32 Handle_RcvdGnrlAsyncInfo(struct wilc_vif *vif, ...@@ -1467,7 +1467,7 @@ static s32 Handle_RcvdGnrlAsyncInfo(struct wilc_vif *vif,
if (hif_drv->usr_scan_req.scan_result) { if (hif_drv->usr_scan_req.scan_result) {
del_timer(&hif_drv->scan_timer); del_timer(&hif_drv->scan_timer);
Handle_ScanDone(vif, SCAN_EVENT_ABORTED); handle_scan_done(vif, SCAN_EVENT_ABORTED);
} }
strDisconnectNotifInfo.reason = 0; strDisconnectNotifInfo.reason = 0;
...@@ -1515,7 +1515,7 @@ static s32 Handle_RcvdGnrlAsyncInfo(struct wilc_vif *vif, ...@@ -1515,7 +1515,7 @@ static s32 Handle_RcvdGnrlAsyncInfo(struct wilc_vif *vif,
(hif_drv->usr_scan_req.scan_result)) { (hif_drv->usr_scan_req.scan_result)) {
del_timer(&hif_drv->scan_timer); del_timer(&hif_drv->scan_timer);
if (hif_drv->usr_scan_req.scan_result) if (hif_drv->usr_scan_req.scan_result)
Handle_ScanDone(vif, SCAN_EVENT_ABORTED); handle_scan_done(vif, SCAN_EVENT_ABORTED);
} }
} }
...@@ -2532,7 +2532,7 @@ static void host_if_work(struct work_struct *work) ...@@ -2532,7 +2532,7 @@ static void host_if_work(struct work_struct *work)
if (!wilc_wlan_get_num_conn_ifcs(wilc)) if (!wilc_wlan_get_num_conn_ifcs(wilc))
wilc_chip_sleep_manually(wilc); wilc_chip_sleep_manually(wilc);
Handle_ScanDone(msg->vif, SCAN_EVENT_DONE); handle_scan_done(msg->vif, SCAN_EVENT_DONE);
if (msg->vif->hif_drv->remain_on_ch_pending) if (msg->vif->hif_drv->remain_on_ch_pending)
Handle_RemainOnChan(msg->vif, Handle_RemainOnChan(msg->vif,
...@@ -2574,7 +2574,7 @@ static void host_if_work(struct work_struct *work) ...@@ -2574,7 +2574,7 @@ static void host_if_work(struct work_struct *work)
break; break;
case HOST_IF_MSG_SCAN_TIMER_FIRED: case HOST_IF_MSG_SCAN_TIMER_FIRED:
Handle_ScanDone(msg->vif, SCAN_EVENT_ABORTED); handle_scan_done(msg->vif, SCAN_EVENT_ABORTED);
break; break;
case HOST_IF_MSG_CONNECT_TIMER_FIRED: case HOST_IF_MSG_CONNECT_TIMER_FIRED:
......
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