Return NOT_AVAILABLE instead of false

This commit is contained in:
Alex
2022-11-06 01:04:52 +02:00
parent 5891c9c3a7
commit cc1b6d517f

View File

@ -347,7 +347,9 @@ int CallbackHandler(KernelCallback *Data)
// Get MAC address
if (!GetMAC().Valid())
return false;
return NOT_AVAILABLE;
else
KAPI->Util.DebugPrint(((char *)"MAC adddress found." + KAPI->Info.Offset), KAPI->Info.DriverUID);
MAC = GetMAC();
// Start link