better debug print.

This commit is contained in:
Gatsby Van
2023-12-22 13:14:37 +08:00
parent 26a912dcc0
commit 633be421b1
3 changed files with 15 additions and 7 deletions
+4 -1
View File
@@ -573,9 +573,12 @@ int32_t ScanNet_PktHandler(L2_INST* instPtr) {
uint32_t Status;
L2_SCAN_FSM* scanFsmPtr = instPtr->scanNetFSM;
uint64_t dataChunk;
DBG_INFO("Scan net handling packet...\n");
BIT_ARRAY* scanMsg = bit_array_create(L2_MSG_MAX);
if (scanMsg == NULL) {
free(scanMsg);
DBG_INFO("Failed to start handling process...\n");
return EALLOC;
}
switch (L2_GetLastFrameType(instPtr)) {