From: Jes Sorensen Date: Mon, 9 Jun 2014 13:16:46 +0000 (+0200) Subject: staging: rtl8723au: rtw_do_join23a(): Use correct error return values X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=be82728e9c10542688dfc0810afa38fd47f4a06b;p=openwrt%2Fstaging%2Fblogic.git staging: rtl8723au: rtw_do_join23a(): Use correct error return values Don't mix true/fail with _SUCCESS/_FAIL as return value Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/core/rtw_ioctl_set.c b/drivers/staging/rtl8723au/core/rtw_ioctl_set.c index 7b0d3dba8cec..28cfea53b175 100644 --- a/drivers/staging/rtl8723au/core/rtw_ioctl_set.c +++ b/drivers/staging/rtl8723au/core/rtw_ioctl_set.c @@ -109,7 +109,7 @@ int rtw_do_join23a(struct rtw_adapter *padapter) _drv_err_, ("***Error =>do_goin: rtw_creat" "ebss_cmd status FAIL***\n")); - ret = false; + ret = _FAIL; goto exit; }