summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/host_interface.c
diff options
context:
space:
mode:
authorChaehyun Lim2015-12-30 13:15:28 +0100
committerGreg Kroah-Hartman2016-02-04 00:09:44 +0100
commit5ca581ef48d8e3188e580e0c246208c47ceb0ca7 (patch)
tree258c6445b8db8e869b1832c8a957af1cd337d777 /drivers/staging/wilc1000/host_interface.c
parentstaging: wilc1000: rename bReg in wilc_frame_register (diff)
downloadkernel-qcow2-linux-5ca581ef48d8e3188e580e0c246208c47ceb0ca7.tar.gz
kernel-qcow2-linux-5ca581ef48d8e3188e580e0c246208c47ceb0ca7.tar.xz
kernel-qcow2-linux-5ca581ef48d8e3188e580e0c246208c47ceb0ca7.zip
staging: wilc1000: fix return type of wilc_listen_state_expired
This patch changes return type of wilc_listen_state_expired from s32 to int. The result variable gets return value from wilc_mq_send that has return type of int. It should be changed return type of this function as well as data type of result variable. Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/host_interface.c')
-rw-r--r--drivers/staging/wilc1000/host_interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index 9b72519713b9..4db211b2c9f3 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -4098,9 +4098,9 @@ s32 wilc_remain_on_channel(struct wilc_vif *vif, u32 u32SessionID,
return result;
}
-s32 wilc_listen_state_expired(struct wilc_vif *vif, u32 u32SessionID)
+int wilc_listen_state_expired(struct wilc_vif *vif, u32 u32SessionID)
{
- s32 result = 0;
+ int result = 0;
struct host_if_msg msg;
struct host_if_drv *hif_drv = vif->hif_drv;