update method.
This commit is contained in:
@@ -1329,7 +1329,7 @@ int32_t Linklayer_Proc(L2_INST *instPtr)
|
|||||||
// Handle frame received in last slot.
|
// Handle frame received in last slot.
|
||||||
if (L2_isDataAvail(instPtr) == true)
|
if (L2_isDataAvail(instPtr) == true)
|
||||||
{
|
{
|
||||||
if (Linklayer_PktHandler(instPtr, L2_GetLastFrameType(instPtr)) != SUCCESS)
|
if (Linklayer_PktHandler(instPtr, L2_GetLastOptFrameType(instPtr)) != SUCCESS)
|
||||||
{
|
{
|
||||||
DBG_ERROR("Failed to handle last received frame: %ld.\n", instPtr->frame.last);
|
DBG_ERROR("Failed to handle last received frame: %ld.\n", instPtr->frame.last);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user