bugfix: wrong arguments.

This commit is contained in:
Gatsby Van
2024-01-22 16:12:38 +08:00
parent a0874d55c7
commit de3ae1c3bc
+3 -2
View File
@@ -1068,8 +1068,9 @@ int32_t Linklayer_EventHandler(L2_INST *instPtr, const L2_EVENT *l2Event)
break; break;
} }
DBG_WARNING("Lost connection with head node [%d].\n", L2_GetHeadId(instPtr)); DBG_WARNING("Lost connection with head node [%d].\n", L2_GetHeadId(instPtr));
L2_Scan_Reset(instPtr); L2_Scan_Reset(instPtr->scanFSM);
L2_Service_Reset(instPtr); L2_Mgmt_Reset(instPtr->mgmtFSM);
L2_Service_Reset(instPtr->serviceFSM);
instPtr->cxn2Net = false; instPtr->cxn2Net = false;
UpdateMainSate(instPtr, L2_INIT_STATE); UpdateMainSate(instPtr, L2_INIT_STATE);
break; break;