mirror of https://gitee.com/openkylin/linux.git
staging: rtl8723au: rtw_pwrctrl.c: Remove an unnecessary COEXIST #ifdef
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
09d8879195
commit
e631bae363
|
@ -350,11 +350,8 @@ void rtw_set_ps_mode23a(struct rtw_adapter *padapter, u8 ps_mode,
|
|||
rtl8723a_set_FwPwrMode_cmd(padapter, ps_mode);
|
||||
pwrpriv->bFwCurrentInPSMode = false;
|
||||
} else {
|
||||
if (PS_RDY_CHECK(padapter)
|
||||
#ifdef CONFIG_8723AU_BT_COEXIST
|
||||
|| (rtl8723a_BT_using_antenna_1(padapter))
|
||||
#endif
|
||||
) {
|
||||
if (PS_RDY_CHECK(padapter) ||
|
||||
rtl8723a_BT_using_antenna_1(padapter)) {
|
||||
DBG_8723A("%s: Enter 802.11 power save\n", __func__);
|
||||
|
||||
pwrpriv->bFwCurrentInPSMode = true;
|
||||
|
|
Loading…
Reference in New Issue