OSDN Git Service

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

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