mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 13:27:06 +09:00
staging: r8188eu: remove autoload check
In Hal_InitPGData88E, the same code is run, regardless of bautoload_fail_flag. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20211111212644.9011-4-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
c4120aaefb
commit
9f784c8214
@@ -1312,18 +1312,8 @@ s32 InitLLTTable(struct adapter *padapter, u8 txpktbuf_bndy)
|
||||
void
|
||||
Hal_InitPGData88E(struct adapter *padapter)
|
||||
{
|
||||
struct eeprom_priv *pEEPROM = &padapter->eeprompriv;
|
||||
|
||||
if (!pEEPROM->bautoload_fail_flag) { /* autoload OK. */
|
||||
if (!is_boot_from_eeprom(padapter)) {
|
||||
/* Read EFUSE real map to shadow. */
|
||||
EFUSE_ShadowMapUpdate(padapter, EFUSE_WIFI, false);
|
||||
}
|
||||
} else {/* autoload fail */
|
||||
/* update to default value 0xFF */
|
||||
if (!is_boot_from_eeprom(padapter))
|
||||
EFUSE_ShadowMapUpdate(padapter, EFUSE_WIFI, false);
|
||||
}
|
||||
if (!is_boot_from_eeprom(padapter))
|
||||
EFUSE_ShadowMapUpdate(padapter, EFUSE_WIFI, false);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user