Bump smoltcp to newest git version

This commit is contained in:
Yuke Peng
2024-08-22 14:34:41 +08:00
committed by Tate, Hongliang Tian
parent 7db9ae23a3
commit bb4751741a
9 changed files with 54 additions and 62 deletions

View File

@ -164,7 +164,9 @@ impl IfaceCommon {
let mut has_events = false;
let mut poll_at;
loop {
has_events |= interface.poll(timestamp, device, &mut sockets);
while interface.poll(timestamp, device, &mut sockets) {
has_events = true;
}
poll_at = interface.poll_at(timestamp, &sockets);
let Some(instant) = poll_at else {
break;