staging: wilc1000: fix return type of wilc_send_config_pkt
authorChaehyun Lim <chaehyun.lim@gmail.com>
Thu, 11 Feb 2016 04:46:22 +0000 (13:46 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Feb 2016 03:31:50 +0000 (19:31 -0800)
commit6e944459aa868a274d07a50b3c7b774387624d94
tree17cd27f359c7e1ab29c6a21ff67a40321a11e5ba
parentd99ee289b4acf29770a33f76c7f98b466f70e91d
staging: wilc1000: fix return type of wilc_send_config_pkt

wilc_send_config_pkt is returned 0 or -ETIMEDOUT according to return
value of wilc_wlan_cfg_set or wilc_wlan_cfg_set.
It is better to use int type to represent linux standard error code.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wlan.c
drivers/staging/wilc1000/wilc_wlan.h