projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b093d4f
)
staging: wilc1000: change data type of result in handle_set_operation_mode
author
Chaehyun Lim
<
[email protected]
>
Wed, 6 Apr 2016 23:10:42 +0000
(08:10 +0900)
committer
Greg Kroah-Hartman
<
[email protected]
>
Fri, 29 Apr 2016 05:03:39 +0000
(22:03 -0700)
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: Chaehyun Lim <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/wilc1000/host_interface.c
patch
|
blob
|
history
diff --git
a/drivers/staging/wilc1000/host_interface.c
b/drivers/staging/wilc1000/host_interface.c
index 81d2105680103f57657e9c0b135eae81beb827f2..4b891c219219d1b5a6cf932f79e67f0ab79ed77d 100644
(file)
--- a/
drivers/staging/wilc1000/host_interface.c
+++ b/
drivers/staging/wilc1000/host_interface.c
@@
-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,
struct op_mode *hif_op_mode)
{
-
s32
result = 0;
+
int
result = 0;
struct wid wid;
wid.id = (u16)WID_SET_OPERATION_MODE;