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

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
Loading
Loading
Loading
Loading
+49 −49
Original line number Diff line number Diff line
@@ -902,7 +902,7 @@ static s32 handle_scan_done(struct wilc_vif *vif,
}

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)
{
	s32 result = 0;
@@ -1244,7 +1244,7 @@ static s32 handle_connect_timeout(struct wilc_vif *vif)
	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)
{
	u32 i;
@@ -1318,7 +1318,7 @@ static s32 host_int_get_assoc_res_info(struct wilc_vif *vif,
				       u32 max_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)
{
	s32 result = 0;
@@ -1777,7 +1777,7 @@ _WPAPtk_end_case_:
	return result;
}

static void Handle_Disconnect(struct wilc_vif *vif)
static void handle_disconnect(struct wilc_vif *vif)
{
	struct wid wid;
	struct host_if_drv *hif_drv = vif->hif_drv;
@@ -1869,7 +1869,7 @@ void wilc_resolve_disconnect_aberration(struct wilc_vif *vif)
		wilc_disconnect(vif, 1);
}

static void Handle_GetRssi(struct wilc_vif *vif)
static void handle_get_rssi(struct wilc_vif *vif)
{
	s32 result = 0;
	struct wid wid;
@@ -1889,7 +1889,7 @@ static void Handle_GetRssi(struct wilc_vif *vif)
	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 wid wid_list[5];
@@ -1943,7 +1943,7 @@ static s32 Handle_GetStatistics(struct wilc_vif *vif,
	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)
{
	s32 result = 0;
@@ -1987,7 +1987,7 @@ static s32 Handle_Get_InActiveTime(struct wilc_vif *vif,
	return result;
}

static void Handle_AddBeacon(struct wilc_vif *vif,
static void handle_add_beacon(struct wilc_vif *vif,
			      struct beacon_attr *pstrSetBeaconParam)
{
	s32 result = 0;
@@ -2040,7 +2040,7 @@ ERRORHANDLER:
	kfree(pstrSetBeaconParam->tail);
}

static void Handle_DelBeacon(struct wilc_vif *vif)
static void handle_del_beacon(struct wilc_vif *vif)
{
	s32 result = 0;
	struct wid wid;
@@ -2095,7 +2095,7 @@ static u32 WILC_HostIf_PackStaParam(u8 *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)
{
	s32 result = 0;
@@ -2164,7 +2164,7 @@ ERRORHANDLER:
	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)
{
	s32 result = 0;
@@ -2192,7 +2192,7 @@ ERRORHANDLER:
	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)
{
	s32 result = 0;
@@ -2220,7 +2220,7 @@ ERRORHANDLER:
	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)
{
	s32 result = 0;
@@ -2289,7 +2289,7 @@ ERRORHANDLER:
	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)
{
	s32 result = 0;
@@ -2320,7 +2320,7 @@ static int Handle_RegisterFrame(struct wilc_vif *vif,
	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)
{
	u8 u8remain_on_chan_flag;
@@ -2382,7 +2382,7 @@ static void ListenTimerCB(struct timer_list *t)
		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)
{
	s32 result = 0;
@@ -2498,15 +2498,15 @@ static void host_if_work(struct work_struct *work)
		break;

	case HOST_IF_MSG_CONNECT:
		Handle_Connect(msg->vif, &msg->body.con_info);
		handle_connect(msg->vif, &msg->body.con_info);
		break;

	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;

	case HOST_IF_MSG_RCVD_GNRL_ASYNC_INFO:
		Handle_RcvdGnrlAsyncInfo(msg->vif,
		handle_rcvd_gnrl_async_info(msg->vif,
					    &msg->body.async_info);
		break;

@@ -2523,7 +2523,7 @@ static void host_if_work(struct work_struct *work)
		break;

	case HOST_IF_MSG_DISCONNECT:
		Handle_Disconnect(msg->vif);
		handle_disconnect(msg->vif);
		break;

	case HOST_IF_MSG_RCVD_SCAN_COMPLETE:
@@ -2535,42 +2535,42 @@ static void host_if_work(struct work_struct *work)
		handle_scan_done(msg->vif, SCAN_EVENT_DONE);

		if (msg->vif->hif_drv->remain_on_ch_pending)
			Handle_RemainOnChan(msg->vif,
			handle_remain_on_chan(msg->vif,
					      &msg->body.remain_on_ch);

		break;

	case HOST_IF_MSG_GET_RSSI:
		Handle_GetRssi(msg->vif);
		handle_get_rssi(msg->vif);
		break;

	case HOST_IF_MSG_GET_STATISTICS:
		Handle_GetStatistics(msg->vif,
		handle_get_statistics(msg->vif,
				      (struct rf_info *)msg->body.data);
		break;

	case HOST_IF_MSG_ADD_BEACON:
		Handle_AddBeacon(msg->vif, &msg->body.beacon_info);
		handle_add_beacon(msg->vif, &msg->body.beacon_info);
		break;

	case HOST_IF_MSG_DEL_BEACON:
		Handle_DelBeacon(msg->vif);
		handle_del_beacon(msg->vif);
		break;

	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;

	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;

	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;

	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;

	case HOST_IF_MSG_SCAN_TIMER_FIRED:
@@ -2582,7 +2582,7 @@ static void host_if_work(struct work_struct *work)
		break;

	case HOST_IF_MSG_POWER_MGMT:
		Handle_PowerManagement(msg->vif,
		handle_power_management(msg->vif,
					&msg->body.pwr_mgmt_info);
		break;

@@ -2610,15 +2610,15 @@ static void host_if_work(struct work_struct *work)
		break;

	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;

	case HOST_IF_MSG_REGISTER_FRAME:
		Handle_RegisterFrame(msg->vif, &msg->body.reg_frame);
		handle_register_frame(msg->vif, &msg->body.reg_frame);
		break;

	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;

	case HOST_IF_MSG_SET_MULTICAST_FILTER: