mirror of
https://github.com/apache/nuttx.git
synced 2026-05-19 20:06:24 +08:00
net/devif/devif_callback.c: Restore cf9f2c56cb. That restored change plus the following additional commits reolves the issue raised by Valmantas Palikša.
This commit is contained in:
@@ -194,7 +194,7 @@ static bool devif_event_trigger(uint16_t events, uint16_t triggers)
|
||||
|
||||
if ((events & DEVPOLL_MASK) == (triggers & DEVPOLL_MASK))
|
||||
{
|
||||
return true;
|
||||
return (triggers & DEVPOLL_MASK) != 0;
|
||||
}
|
||||
|
||||
/* No.. this event set will not generate the callback */
|
||||
|
||||
Reference in New Issue
Block a user