mirror of
https://github.com/espressif/openthread.git
synced 2026-09-07 01:30:11 +00:00
[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:
@@ -2234,6 +2234,7 @@ void Mac::LogFrameRxFailure(const RxFrame *aFrame, Error aError) const
|
||||
{
|
||||
case kErrorAbort:
|
||||
case kErrorNoFrameReceived:
|
||||
case kErrorAddressFiltered:
|
||||
case kErrorDestinationAddressFiltered:
|
||||
logLevel = kLogLevelDebg;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user