[mac] log AddressFiltered rx errors at debug level (#7514)

This commit changes the log level used by `Mac` to log frame rx error
when error is `kErrorAddressFiltered` (from "info" to "debug" log
level). This error is used when the frame is filtered `Mac::Filter`.
This helps reduce the logs during simulation/testing when allow-list
or deny-list are used to form specific network topology.
This commit is contained in:
Abtin Keshavarzian
2022-03-23 20:51:58 -07:00
committed by GitHub
parent 119df62cbd
commit 35ff12215f
+1
View File
@@ -2234,6 +2234,7 @@ void Mac::LogFrameRxFailure(const RxFrame *aFrame, Error aError) const
{
case kErrorAbort:
case kErrorNoFrameReceived:
case kErrorAddressFiltered:
case kErrorDestinationAddressFiltered:
logLevel = kLogLevelDebg;
break;