summaryrefslogtreecommitdiff
path: root/wilink_6_1/stad
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2009-10-28 10:29:20 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2009-10-28 10:29:20 -0700
commitcd43498901155042b215caad44f2632e1181756d (patch)
tree67ac923273603fbcd30d69d7dd76f31872507ff5 /wilink_6_1/stad
parentd2e23a38e1747a625e902ade5bebf628b90e7538 (diff)
parent13a774123712fc5ce1e4033292ffc631c00b3ea5 (diff)
downloadti-cd43498901155042b215caad44f2632e1181756d.tar.gz
am 13a77412: Postpone setting complete flag to the real FW start (http://b/issue?id=2198151)
Merge commit '13a774123712fc5ce1e4033292ffc631c00b3ea5' into eclair-mr2 * commit '13a774123712fc5ce1e4033292ffc631c00b3ea5': Postpone setting complete flag to the real FW start (http://b/issue?id=2198151)
Diffstat (limited to 'wilink_6_1/stad')
-rw-r--r--wilink_6_1/stad/src/Ctrl_Interface/DrvMain.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/wilink_6_1/stad/src/Ctrl_Interface/DrvMain.c b/wilink_6_1/stad/src/Ctrl_Interface/DrvMain.c
index 257cf20..9e55fa6 100644
--- a/wilink_6_1/stad/src/Ctrl_Interface/DrvMain.c
+++ b/wilink_6_1/stad/src/Ctrl_Interface/DrvMain.c
@@ -1588,10 +1588,6 @@ static void drvMain_Sm (TI_HANDLE hDrvMain, ESmEvent eEvent)
if (eEvent == SM_EVENT_FW_INIT_COMPLETE)
{
pDrvMain->eSmState = SM_STATE_FW_CONFIG;
- if (!pDrvMain->bRecovery)
- {
- os_SignalObjectSet(hOs, pDrvMain->hSignalObj);
- }
TWD_EnableInterrupts(pDrvMain->tStadHandles.hTWD);
#ifdef PRIODIC_INTERRUPT
/* Start periodic interrupts. It means that every period of time the FwEvent SM will be called */
@@ -1633,6 +1629,10 @@ static void drvMain_Sm (TI_HANDLE hDrvMain, ESmEvent eEvent)
eStatus = TI_OK;
}
+ if (!pDrvMain->bRecovery)
+ {
+ os_SignalObjectSet(hOs, pDrvMain->hSignalObj);
+ }
break;
case SM_STATE_OPERATIONAL:
/*