adapted to new node list api.
This commit is contained in:
@@ -1174,7 +1174,7 @@ static int32_t Linklayer_Routine(L2_INST *instPtr)
|
|||||||
|
|
||||||
#ifdef DATALINK_ENABLE_AUTORECONNECT
|
#ifdef DATALINK_ENABLE_AUTORECONNECT
|
||||||
L2_IterDeleteNode(instPtr->nodeList, IsNodeConnected);
|
L2_IterDeleteNode(instPtr->nodeList, IsNodeConnected);
|
||||||
if (GetNodeNum(instPtr->nodeList) < instPtr->config.netScale - 1)
|
if (L2_GetNodeListLen(instPtr->nodeList) < instPtr->config.netScale - 1)
|
||||||
{
|
{
|
||||||
// reset scan process
|
// reset scan process
|
||||||
L2_EVENT l2Event;
|
L2_EVENT l2Event;
|
||||||
|
|||||||
Reference in New Issue
Block a user