net/devif/devif_callback.c: Restore cf9f2c56cb00f0e879eed9c95bff824ba1499656. That restored change plus the following additional commits reolves the issue raised by Valmantas Palikša.

This commit is contained in:
Xiang Xiao 2019-11-27 07:59:52 -06:00 committed by Gregory Nutt
parent b7b85251cf
commit ea666877f2

View File

@ -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 */