mirror of
https://github.com/espressif/openthread.git
synced 2026-08-16 07:37:47 +00:00
[posix] fix state changed chandler filter logic (#5013)
This commit is contained in:
@@ -457,7 +457,7 @@ static void processAddressChange(const otIp6Address *aAddress, uint8_t aPrefixLe
|
||||
|
||||
static void processStateChange(otChangedFlags aFlags, void *aContext)
|
||||
{
|
||||
if (OT_CHANGED_THREAD_NETIF_STATE | aFlags)
|
||||
if (OT_CHANGED_THREAD_NETIF_STATE & aFlags)
|
||||
{
|
||||
UpdateLink(static_cast<otInstance *>(aContext));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user