staging: wilc1000: fix return type of wilc_add_beacon
authorChaehyun Lim <chaehyun.lim@gmail.com>
Sun, 3 Jan 2016 08:35:55 +0000 (17:35 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 23:11:00 +0000 (15:11 -0800)
commit4d84dbed22cf4c9c0f98b72429499b1a59d63103
tree5306ab84781c4b9234bf7f5be73cd43c22b26a8f
parent9d6cec9f46eb993a158d6ad48f65aec419683795
staging: wilc1000: fix return type of wilc_add_beacon

This patch changes return type of wilc_add_beacon from s32 to int.
The result variable gets return value from wilc_mq_send that has data
type of int. It should be changed return type of this function as well
as 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