staging: wilc1000: fix return type of wilc_flush_join_req
authorChaehyun Lim <chaehyun.lim@gmail.com>
Thu, 24 Dec 2015 07:52:19 +0000 (16:52 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 23:08:06 +0000 (15:08 -0800)
commit30205892ecaa6a151e85bdd8e1bf9f7ee7a0fc17
tree2a0e839b73d61d6ae54acbb123d36bd4903133bc
parenta045618e01ac486528f848841a3b31b9b7582c0c
staging: wilc1000: fix return type of wilc_flush_join_req

This patch changes return type of wilc_flush_join_req 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>
drivers/staging/wilc1000/host_interface.c
drivers/staging/wilc1000/host_interface.h