Commit eebb4df1 authored by Chaehyun Lim's avatar Chaehyun Lim Committed by Greg Kroah-Hartman

staging: wilc1000: change data type of result in handle_cfg_param

This patch changes data type of result variable from s32 to int. result
is used to get return value from wilc_send_config_pkt that has return
type of int.
Signed-off-by: default avatarChaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fbc976c1
...@@ -420,7 +420,7 @@ static void handle_get_mac_address(struct wilc_vif *vif, ...@@ -420,7 +420,7 @@ static void handle_get_mac_address(struct wilc_vif *vif,
static void handle_cfg_param(struct wilc_vif *vif, static void handle_cfg_param(struct wilc_vif *vif,
struct cfg_param_attr *cfg_param_attr) struct cfg_param_attr *cfg_param_attr)
{ {
s32 result = 0; int result = 0;
struct wid wid_list[32]; struct wid wid_list[32];
struct host_if_drv *hif_drv = vif->hif_drv; struct host_if_drv *hif_drv = vif->hif_drv;
int i = 0; int i = 0;
......
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