Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2746ca08 authored by Chaehyun Lim's avatar Chaehyun Lim Committed by Greg Kroah-Hartman
Browse files

staging: wilc1000: handle_cfg_param: change data type of wid_cnt



This patch changes data type of wid_cnt from u8 to int.
This variable uses array index of struct wid_list so that it is better
to use int type.

Signed-off-by: default avatarChaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a5f0fb5c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -473,7 +473,7 @@ static s32 handle_cfg_param(struct wilc_vif *vif,
	s32 result = 0;
	struct wid wid_list[32];
	struct host_if_drv *hif_drv = vif->hif_drv;
	u8 wid_cnt = 0;
	int wid_cnt = 0;

	down(&hif_drv->sem_cfg_values);