small fix

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@835 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
sato_masaki 2008-03-06 06:36:31 +00:00
parent 38c6572c6e
commit 2a7ae80461

View File

@ -48,7 +48,7 @@
static u32* pNwmBuf;
static u8* pFwBuffer = 0;
#if (MEASURE_WIRELESS_INITTIME == 1)
static OSTick startTick;
static OSTick startTick = 0;
#endif
static OSMessageQueue mesq;
static OSMessage mesAry[1];
@ -277,6 +277,11 @@ BOOL InstallWlanFirmware(void)
OS_TWarning("Error: Couldn't allocate memory for NWM.\n");
goto instfirm_error;
}
#if (MEASURE_WIRELESS_INITTIME == 1)
startTick = OS_GetTick();
#endif
// HotStart
NWM_Init(pNwmBuf, NWM_SYSTEM_BUF_SIZE, 3); /* 3 -> DMA no. */
err = NWMi_InstallFirmware(InstallFirmCallback, NULL, 0, FALSE);