staging: wilc1000: fix return type of host_int_add_ptk
authorChaehyun Lim <chaehyun.lim@gmail.com>
Sun, 8 Nov 2015 07:48:54 +0000 (16:48 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Dec 2015 22:14:03 +0000 (14:14 -0800)
commit706ab42eae8a7a320d0364c7040c9419bfdea235
treed6eb4cfb1f8bada5c4fa3afda32384b0589c85ca
parentd3ae4fa40088045b500f4d1ce85eb926b6cd2d3e
staging: wilc1000: fix return type of host_int_add_ptk

This patch changes return type of host_int_add_ptk 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