Commit be82728e authored by Jes Sorensen's avatar Jes Sorensen Committed by Greg Kroah-Hartman

staging: rtl8723au: rtw_do_join23a(): Use correct error return values

Don't mix true/fail with _SUCCESS/_FAIL as return value
Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4d9c63bb
...@@ -109,7 +109,7 @@ int rtw_do_join23a(struct rtw_adapter *padapter) ...@@ -109,7 +109,7 @@ int rtw_do_join23a(struct rtw_adapter *padapter)
_drv_err_, _drv_err_,
("***Error =>do_goin: rtw_creat" ("***Error =>do_goin: rtw_creat"
"ebss_cmd status FAIL***\n")); "ebss_cmd status FAIL***\n"));
ret = false; ret = _FAIL;
goto exit; goto exit;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment