提交 987ab5eb 编写于 作者: C Chaehyun Lim 提交者: Greg Kroah-Hartman

staging: wilc1000: change data type of result variable to int.

result variable gets value from wilc_send_config_pkt that has
return value of int. This patch changes data type of result variable to
int.
Signed-off-by: NChaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 c43f5f9d
...@@ -302,7 +302,7 @@ static struct wilc_vif *wilc_get_vif_from_idx(struct wilc *wilc, int idx) ...@@ -302,7 +302,7 @@ static struct wilc_vif *wilc_get_vif_from_idx(struct wilc *wilc, int idx)
static void handle_set_channel(struct wilc_vif *vif, static void handle_set_channel(struct wilc_vif *vif,
struct channel_attr *hif_set_ch) struct channel_attr *hif_set_ch)
{ {
s32 result = 0; int result = 0;
struct wid wid; struct wid wid;
wid.id = (u16)WID_CURRENT_CHANNEL; wid.id = (u16)WID_CURRENT_CHANNEL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册