]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit81d0c9aad93f4899f9c38d03d01e8f4763c9c0a7
tree17cd27f359c7e1ab29c6a21ff67a40321a11e5ba
parent812a78d679ed560b737b100d6597d38df5c38a07
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