rtl8188eu: Remove CONFIG_P2P_PS and CONFIG_P2P_REMOVE_GROUP_INFO

Both are defined whenever CONFIG_P2P is defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2013-07-20 11:25:24 -05:00
parent f004d23436
commit 7333ca4047
12 changed files with 12 additions and 54 deletions

View file

@ -277,12 +277,10 @@ rtl8188e_HalDmWatchDog(
bFwCurrentInPSMode = Adapter->pwrctrlpriv.bFwCurrentInPSMode;
rtw_hal_get_hwreg(Adapter, HW_VAR_FWLPS_RF_ON, (u8 *)(&bFwPSAwake));
#ifdef CONFIG_P2P_PS
/* Fw is under p2p powersaving mode, driver should stop dynamic mechanism. */
/* modifed by thomas. 2011.06.11. */
if (Adapter->wdinfo.p2p_ps_mode)
bFwPSAwake = false;
#endif /* CONFIG_P2P_PS */
if ( (hw_init_completed == true)
&& ((!bFwCurrentInPSMode) && bFwPSAwake))