mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-14 00:59:37 +00:00
rtl8188eu: Change CONFIG_IOL_READ_EFUSE_MAP to CONFIG_IOL
When CONFIG_IOL is defined, then CONFIG_IOL_READ_EFUSE_MAP is automatically defined. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
6dea1f4270
commit
71377b69a4
3 changed files with 2 additions and 3 deletions
|
@ -1427,7 +1427,7 @@ ReadEFuseByIC(
|
||||||
u8 logical_map[512];
|
u8 logical_map[512];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_IOL_READ_EFUSE_MAP
|
#ifdef CONFIG_IOL
|
||||||
if(!bPseudoTest )/* rtw_IOL_applied(Adapter)) */
|
if(!bPseudoTest )/* rtw_IOL_applied(Adapter)) */
|
||||||
{
|
{
|
||||||
int ret = _FAIL;
|
int ret = _FAIL;
|
||||||
|
|
|
@ -58,7 +58,6 @@
|
||||||
#endif // CONFIG_LED
|
#endif // CONFIG_LED
|
||||||
|
|
||||||
#ifdef CONFIG_IOL
|
#ifdef CONFIG_IOL
|
||||||
#define CONFIG_IOL_READ_EFUSE_MAP
|
|
||||||
#define CONFIG_IOL_EFUSE_PATCH
|
#define CONFIG_IOL_EFUSE_PATCH
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -748,7 +748,7 @@ static int rtw_suspend(struct usb_interface *pusb_intf, pm_message_t message)
|
||||||
DBG_871X("==> %s (%s:%d)\n",__FUNCTION__, current->comm, current->pid);
|
DBG_871X("==> %s (%s:%d)\n",__FUNCTION__, current->comm, current->pid);
|
||||||
|
|
||||||
|
|
||||||
#ifdef CONFIG_IOL_READ_EFUSE_MAP
|
#ifdef CONFIG_IOL
|
||||||
if(!padapter->bup){
|
if(!padapter->bup){
|
||||||
u8 bMacPwrCtrlOn = false;
|
u8 bMacPwrCtrlOn = false;
|
||||||
rtw_hal_get_hwreg(padapter, HW_VAR_APFM_ON_MAC, &bMacPwrCtrlOn);
|
rtw_hal_get_hwreg(padapter, HW_VAR_APFM_ON_MAC, &bMacPwrCtrlOn);
|
||||||
|
|
Loading…
Reference in a new issue