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

staging: wilc1000: change data type of result in handle_set_operation_mode

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 b093d4fe
...@@ -331,7 +331,7 @@ static void handle_set_wfi_drv_handler(struct wilc_vif *vif, ...@@ -331,7 +331,7 @@ static void handle_set_wfi_drv_handler(struct wilc_vif *vif,
static void handle_set_operation_mode(struct wilc_vif *vif, static void handle_set_operation_mode(struct wilc_vif *vif,
struct op_mode *hif_op_mode) struct op_mode *hif_op_mode)
{ {
s32 result = 0; int result = 0;
struct wid wid; struct wid wid;
wid.id = (u16)WID_SET_OPERATION_MODE; wid.id = (u16)WID_SET_OPERATION_MODE;
......
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