}
 }
 
-void ReadAdapterInfo8188EU(struct adapter *Adapter)
+int ReadAdapterInfo8188EU(struct adapter *Adapter)
 {
        struct eeprom_priv *eeprom = &Adapter->eeprompriv;
        struct led_priv *ledpriv = &Adapter->ledpriv;
        /* check system boot selection */
        res = rtw_read8(Adapter, REG_9346CR, &eeValue);
        if (res)
-               return;
+               return res;
 
        eeprom->bautoload_fail_flag     = !(eeValue & EEPROM_EN);
 
        efuse_buf = kmalloc(EFUSE_MAP_LEN_88E, GFP_KERNEL);
        if (!efuse_buf)
-               return;
+               return -ENOMEM;
        memset(efuse_buf, 0xFF, EFUSE_MAP_LEN_88E);
 
        if (!(eeValue & BOOT_FROM_EEPROM) && !eeprom->bautoload_fail_flag) {
 
        ledpriv->bRegUseLed = true;
        kfree(efuse_buf);
+       return 0;
 }
 
 void UpdateHalRAMask8188EUsb(struct adapter *adapt, u32 mac_id, u8 rssi_level)
 
 typedef s32 (*c2h_id_filter)(u8 id);
 
 void rtl8188eu_interface_configure(struct adapter *adapt);
-void ReadAdapterInfo8188EU(struct adapter *Adapter);
+int ReadAdapterInfo8188EU(struct adapter *Adapter);
 void rtl8188eu_init_default_value(struct adapter *adapt);
 void rtl8188e_SetHalODMVar(struct adapter *Adapter, void *pValue1, bool bSet);
 u32 rtl8188eu_InitPowerOn(struct adapter *adapt);
 
        rtl8188eu_interface_configure(padapter);
 
        /* step read efuse/eeprom data and get mac_addr */
-       ReadAdapterInfo8188EU(padapter);
+       if (ReadAdapterInfo8188EU(padapter) < 0)
+               goto handle_dualmac;
 
        /* step 5. */
        if (rtw_init_drv_sw(padapter) == _FAIL)