staging: rtl8723au: rtw_do_join23a(): Use correct error return values
authorJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 9 Jun 2014 13:16:46 +0000 (15:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jun 2014 21:03:49 +0000 (14:03 -0700)
Don't mix true/fail with _SUCCESS/_FAIL as return value

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_ioctl_set.c

index 7b0d3dba8cec68f5141fb7a2bca5f8fa59fc1d19..28cfea53b1753a72d676bdb535c594ea3925e8f9 100644 (file)
@@ -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;
                                }