Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions hal/rtl8710b/rtl8710b_hal_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ static s32 polling_fwdl_chksum(_adapter *adapter, u32 min_cnt, u32 timeout_ms)
return ret;
}

#ifdef PLATFORM_WINDOWS
static s32 _FWFreeToGo(_adapter *adapter, u32 min_cnt, u32 timeout_ms)
{
s32 ret = _FAIL;
Expand Down Expand Up @@ -255,7 +254,6 @@ static s32 _FWFreeToGo(_adapter *adapter, u32 min_cnt, u32 timeout_ms)

return ret;
}
#endif

void rtl8710b_InitializeFirmwareVars(PADAPTER padapter)
{
Expand Down Expand Up @@ -572,9 +570,7 @@ s32 rtl8710b_FirmwareDownload(PADAPTER padapter, BOOLEAN bUsedWoWLANFw)
// 20150128 Sinda/SD-Alex, OS will write 1dx during download FW to let driver stuck for waiting FW clear 0x1cc when resume from sleep.
// Driver clear 0x1cc irrespective of download FW successful or failure to avoid driver stuck.
rtw_write8(padapter, REG_HMETFR_8710B, 0xF);
#ifdef PLATFORM_WINDOWS
rtStatus = _FWFreeToGo(padapter, 10, 200);
#endif
}
else
goto DLFW_FAIL;
Expand Down