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

staging: wilc1000: rename functions starting with Handle_ 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 f7ff157b
...@@ -902,7 +902,7 @@ static s32 handle_scan_done(struct wilc_vif *vif, ...@@ -902,7 +902,7 @@ static s32 handle_scan_done(struct wilc_vif *vif,
} }
u8 wilc_connected_ssid[6] = {0}; u8 wilc_connected_ssid[6] = {0};
static s32 Handle_Connect(struct wilc_vif *vif, static s32 handle_connect(struct wilc_vif *vif,
struct connect_attr *pstrHostIFconnectAttr) struct connect_attr *pstrHostIFconnectAttr)
{ {
s32 result = 0; s32 result = 0;
...@@ -1244,7 +1244,7 @@ static s32 handle_connect_timeout(struct wilc_vif *vif) ...@@ -1244,7 +1244,7 @@ static s32 handle_connect_timeout(struct wilc_vif *vif)
return result; return result;
} }
static s32 Handle_RcvdNtwrkInfo(struct wilc_vif *vif, static s32 handle_rcvd_ntwrk_info(struct wilc_vif *vif,
struct rcvd_net_info *rcvd_info) struct rcvd_net_info *rcvd_info)
{ {
u32 i; u32 i;
...@@ -1318,7 +1318,7 @@ static s32 host_int_get_assoc_res_info(struct wilc_vif *vif, ...@@ -1318,7 +1318,7 @@ static s32 host_int_get_assoc_res_info(struct wilc_vif *vif,
u32 max_assoc_resp_info_len, u32 max_assoc_resp_info_len,
u32 *rcvd_assoc_resp_info_len); u32 *rcvd_assoc_resp_info_len);
static s32 Handle_RcvdGnrlAsyncInfo(struct wilc_vif *vif, static s32 handle_rcvd_gnrl_async_info(struct wilc_vif *vif,
struct rcvd_async_info *rcvd_info) struct rcvd_async_info *rcvd_info)
{ {
s32 result = 0; s32 result = 0;
...@@ -1777,7 +1777,7 @@ static int handle_key(struct wilc_vif *vif, ...@@ -1777,7 +1777,7 @@ static int handle_key(struct wilc_vif *vif,
return result; return result;
} }
static void Handle_Disconnect(struct wilc_vif *vif) static void handle_disconnect(struct wilc_vif *vif)
{ {
struct wid wid; struct wid wid;
struct host_if_drv *hif_drv = vif->hif_drv; struct host_if_drv *hif_drv = vif->hif_drv;
...@@ -1869,7 +1869,7 @@ void wilc_resolve_disconnect_aberration(struct wilc_vif *vif) ...@@ -1869,7 +1869,7 @@ void wilc_resolve_disconnect_aberration(struct wilc_vif *vif)
wilc_disconnect(vif, 1); wilc_disconnect(vif, 1);
} }
static void Handle_GetRssi(struct wilc_vif *vif) static void handle_get_rssi(struct wilc_vif *vif)
{ {
s32 result = 0; s32 result = 0;
struct wid wid; struct wid wid;
...@@ -1889,7 +1889,7 @@ static void Handle_GetRssi(struct wilc_vif *vif) ...@@ -1889,7 +1889,7 @@ static void Handle_GetRssi(struct wilc_vif *vif)
complete(&vif->hif_drv->comp_get_rssi); complete(&vif->hif_drv->comp_get_rssi);
} }
static s32 Handle_GetStatistics(struct wilc_vif *vif, static s32 handle_get_statistics(struct wilc_vif *vif,
struct rf_info *pstrStatistics) struct rf_info *pstrStatistics)
{ {
struct wid wid_list[5]; struct wid wid_list[5];
...@@ -1943,7 +1943,7 @@ static s32 Handle_GetStatistics(struct wilc_vif *vif, ...@@ -1943,7 +1943,7 @@ static s32 Handle_GetStatistics(struct wilc_vif *vif,
return 0; return 0;
} }
static s32 Handle_Get_InActiveTime(struct wilc_vif *vif, static s32 handle_get_inactive_time(struct wilc_vif *vif,
struct sta_inactive_t *hif_sta_inactive) struct sta_inactive_t *hif_sta_inactive)
{ {
s32 result = 0; s32 result = 0;
...@@ -1987,7 +1987,7 @@ static s32 Handle_Get_InActiveTime(struct wilc_vif *vif, ...@@ -1987,7 +1987,7 @@ static s32 Handle_Get_InActiveTime(struct wilc_vif *vif,
return result; return result;
} }
static void Handle_AddBeacon(struct wilc_vif *vif, static void handle_add_beacon(struct wilc_vif *vif,
struct beacon_attr *pstrSetBeaconParam) struct beacon_attr *pstrSetBeaconParam)
{ {
s32 result = 0; s32 result = 0;
...@@ -2040,7 +2040,7 @@ static void Handle_AddBeacon(struct wilc_vif *vif, ...@@ -2040,7 +2040,7 @@ static void Handle_AddBeacon(struct wilc_vif *vif,
kfree(pstrSetBeaconParam->tail); kfree(pstrSetBeaconParam->tail);
} }
static void Handle_DelBeacon(struct wilc_vif *vif) static void handle_del_beacon(struct wilc_vif *vif)
{ {
s32 result = 0; s32 result = 0;
struct wid wid; struct wid wid;
...@@ -2095,7 +2095,7 @@ static u32 WILC_HostIf_PackStaParam(u8 *pu8Buffer, ...@@ -2095,7 +2095,7 @@ static u32 WILC_HostIf_PackStaParam(u8 *pu8Buffer,
return cur_byte - pu8Buffer; return cur_byte - pu8Buffer;
} }
static void Handle_AddStation(struct wilc_vif *vif, static void handle_add_station(struct wilc_vif *vif,
struct add_sta_param *pstrStationParam) struct add_sta_param *pstrStationParam)
{ {
s32 result = 0; s32 result = 0;
...@@ -2164,7 +2164,7 @@ static void handle_del_all_sta(struct wilc_vif *vif, ...@@ -2164,7 +2164,7 @@ static void handle_del_all_sta(struct wilc_vif *vif,
complete(&hif_wait_response); complete(&hif_wait_response);
} }
static void Handle_DelStation(struct wilc_vif *vif, static void handle_del_station(struct wilc_vif *vif,
struct del_sta *pstrDelStaParam) struct del_sta *pstrDelStaParam)
{ {
s32 result = 0; s32 result = 0;
...@@ -2192,7 +2192,7 @@ static void Handle_DelStation(struct wilc_vif *vif, ...@@ -2192,7 +2192,7 @@ static void Handle_DelStation(struct wilc_vif *vif,
kfree(wid.val); kfree(wid.val);
} }
static void Handle_EditStation(struct wilc_vif *vif, static void handle_edit_station(struct wilc_vif *vif,
struct add_sta_param *pstrStationParam) struct add_sta_param *pstrStationParam)
{ {
s32 result = 0; s32 result = 0;
...@@ -2220,7 +2220,7 @@ static void Handle_EditStation(struct wilc_vif *vif, ...@@ -2220,7 +2220,7 @@ static void Handle_EditStation(struct wilc_vif *vif,
kfree(wid.val); kfree(wid.val);
} }
static int Handle_RemainOnChan(struct wilc_vif *vif, static int handle_remain_on_chan(struct wilc_vif *vif,
struct remain_ch *hif_remain_ch) struct remain_ch *hif_remain_ch)
{ {
s32 result = 0; s32 result = 0;
...@@ -2289,7 +2289,7 @@ static int Handle_RemainOnChan(struct wilc_vif *vif, ...@@ -2289,7 +2289,7 @@ static int Handle_RemainOnChan(struct wilc_vif *vif,
return result; return result;
} }
static int Handle_RegisterFrame(struct wilc_vif *vif, static int handle_register_frame(struct wilc_vif *vif,
struct reg_frame *hif_reg_frame) struct reg_frame *hif_reg_frame)
{ {
s32 result = 0; s32 result = 0;
...@@ -2320,7 +2320,7 @@ static int Handle_RegisterFrame(struct wilc_vif *vif, ...@@ -2320,7 +2320,7 @@ static int Handle_RegisterFrame(struct wilc_vif *vif,
return result; return result;
} }
static u32 Handle_ListenStateExpired(struct wilc_vif *vif, static u32 handle_listen_state_expired(struct wilc_vif *vif,
struct remain_ch *hif_remain_ch) struct remain_ch *hif_remain_ch)
{ {
u8 u8remain_on_chan_flag; u8 u8remain_on_chan_flag;
...@@ -2382,7 +2382,7 @@ static void ListenTimerCB(struct timer_list *t) ...@@ -2382,7 +2382,7 @@ static void ListenTimerCB(struct timer_list *t)
netdev_err(vif->ndev, "wilc_mq_send fail\n"); netdev_err(vif->ndev, "wilc_mq_send fail\n");
} }
static void Handle_PowerManagement(struct wilc_vif *vif, static void handle_power_management(struct wilc_vif *vif,
struct power_mgmt_param *pm_param) struct power_mgmt_param *pm_param)
{ {
s32 result = 0; s32 result = 0;
...@@ -2498,15 +2498,15 @@ static void host_if_work(struct work_struct *work) ...@@ -2498,15 +2498,15 @@ static void host_if_work(struct work_struct *work)
break; break;
case HOST_IF_MSG_CONNECT: case HOST_IF_MSG_CONNECT:
Handle_Connect(msg->vif, &msg->body.con_info); handle_connect(msg->vif, &msg->body.con_info);
break; break;
case HOST_IF_MSG_RCVD_NTWRK_INFO: case HOST_IF_MSG_RCVD_NTWRK_INFO:
Handle_RcvdNtwrkInfo(msg->vif, &msg->body.net_info); handle_rcvd_ntwrk_info(msg->vif, &msg->body.net_info);
break; break;
case HOST_IF_MSG_RCVD_GNRL_ASYNC_INFO: case HOST_IF_MSG_RCVD_GNRL_ASYNC_INFO:
Handle_RcvdGnrlAsyncInfo(msg->vif, handle_rcvd_gnrl_async_info(msg->vif,
&msg->body.async_info); &msg->body.async_info);
break; break;
...@@ -2523,7 +2523,7 @@ static void host_if_work(struct work_struct *work) ...@@ -2523,7 +2523,7 @@ static void host_if_work(struct work_struct *work)
break; break;
case HOST_IF_MSG_DISCONNECT: case HOST_IF_MSG_DISCONNECT:
Handle_Disconnect(msg->vif); handle_disconnect(msg->vif);
break; break;
case HOST_IF_MSG_RCVD_SCAN_COMPLETE: case HOST_IF_MSG_RCVD_SCAN_COMPLETE:
...@@ -2535,42 +2535,42 @@ static void host_if_work(struct work_struct *work) ...@@ -2535,42 +2535,42 @@ static void host_if_work(struct work_struct *work)
handle_scan_done(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_remain_on_chan(msg->vif,
&msg->body.remain_on_ch); &msg->body.remain_on_ch);
break; break;
case HOST_IF_MSG_GET_RSSI: case HOST_IF_MSG_GET_RSSI:
Handle_GetRssi(msg->vif); handle_get_rssi(msg->vif);
break; break;
case HOST_IF_MSG_GET_STATISTICS: case HOST_IF_MSG_GET_STATISTICS:
Handle_GetStatistics(msg->vif, handle_get_statistics(msg->vif,
(struct rf_info *)msg->body.data); (struct rf_info *)msg->body.data);
break; break;
case HOST_IF_MSG_ADD_BEACON: case HOST_IF_MSG_ADD_BEACON:
Handle_AddBeacon(msg->vif, &msg->body.beacon_info); handle_add_beacon(msg->vif, &msg->body.beacon_info);
break; break;
case HOST_IF_MSG_DEL_BEACON: case HOST_IF_MSG_DEL_BEACON:
Handle_DelBeacon(msg->vif); handle_del_beacon(msg->vif);
break; break;
case HOST_IF_MSG_ADD_STATION: case HOST_IF_MSG_ADD_STATION:
Handle_AddStation(msg->vif, &msg->body.add_sta_info); handle_add_station(msg->vif, &msg->body.add_sta_info);
break; break;
case HOST_IF_MSG_DEL_STATION: case HOST_IF_MSG_DEL_STATION:
Handle_DelStation(msg->vif, &msg->body.del_sta_info); handle_del_station(msg->vif, &msg->body.del_sta_info);
break; break;
case HOST_IF_MSG_EDIT_STATION: case HOST_IF_MSG_EDIT_STATION:
Handle_EditStation(msg->vif, &msg->body.edit_sta_info); handle_edit_station(msg->vif, &msg->body.edit_sta_info);
break; break;
case HOST_IF_MSG_GET_INACTIVETIME: case HOST_IF_MSG_GET_INACTIVETIME:
Handle_Get_InActiveTime(msg->vif, &msg->body.mac_info); handle_get_inactive_time(msg->vif, &msg->body.mac_info);
break; break;
case HOST_IF_MSG_SCAN_TIMER_FIRED: case HOST_IF_MSG_SCAN_TIMER_FIRED:
...@@ -2582,7 +2582,7 @@ static void host_if_work(struct work_struct *work) ...@@ -2582,7 +2582,7 @@ static void host_if_work(struct work_struct *work)
break; break;
case HOST_IF_MSG_POWER_MGMT: case HOST_IF_MSG_POWER_MGMT:
Handle_PowerManagement(msg->vif, handle_power_management(msg->vif,
&msg->body.pwr_mgmt_info); &msg->body.pwr_mgmt_info);
break; break;
...@@ -2610,15 +2610,15 @@ static void host_if_work(struct work_struct *work) ...@@ -2610,15 +2610,15 @@ static void host_if_work(struct work_struct *work)
break; break;
case HOST_IF_MSG_REMAIN_ON_CHAN: case HOST_IF_MSG_REMAIN_ON_CHAN:
Handle_RemainOnChan(msg->vif, &msg->body.remain_on_ch); handle_remain_on_chan(msg->vif, &msg->body.remain_on_ch);
break; break;
case HOST_IF_MSG_REGISTER_FRAME: case HOST_IF_MSG_REGISTER_FRAME:
Handle_RegisterFrame(msg->vif, &msg->body.reg_frame); handle_register_frame(msg->vif, &msg->body.reg_frame);
break; break;
case HOST_IF_MSG_LISTEN_TIMER_FIRED: case HOST_IF_MSG_LISTEN_TIMER_FIRED:
Handle_ListenStateExpired(msg->vif, &msg->body.remain_on_ch); handle_listen_state_expired(msg->vif, &msg->body.remain_on_ch);
break; break;
case HOST_IF_MSG_SET_MULTICAST_FILTER: case HOST_IF_MSG_SET_MULTICAST_FILTER:
......
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