OSDN Git Service

staging: wilc1000: fix return type of host_int_del_station
authorChaehyun Lim <chaehyun.lim@gmail.com>
Fri, 6 Nov 2015 10:11:12 +0000 (19:11 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
commit79a0c0a8c4db5809854ce9419486f2cfd01212e5
treeced40b3dba245ce7be815838c4fb03f82766e0e9
parentb6694df6756e3784c38b9f8f0a9bcdb6f934e13c
staging: wilc1000: fix return type of host_int_del_station

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