]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
staging: rtl8723au: _rtw_pwr_wakeup23a(): Do not mix _FAIL/false as return value
authorJes Sorensen <Jes.Sorensen@redhat.com>
Sun, 25 May 2014 20:43:21 +0000 (22:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 May 2014 22:14:41 +0000 (15:14 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_pwrctrl.c

index 86ce51f849e90d293007cccb810c45c3ada6ec9f..937bbbcaa1bc4b94c82c097247e92aef1d025594 100644 (file)
@@ -600,7 +600,7 @@ int _rtw_pwr_wakeup23a(struct rtw_adapter *padapter, u32 ips_deffer_ms, const ch
                DBG_8723A("%s: bDriverStopped =%d, bup =%d, hw_init_completed "
                          "=%u\n", caller, padapter->bDriverStopped,
                          padapter->bup, padapter->hw_init_completed);
-               ret = false;
+               ret = _FAIL;
                goto exit;
        }