diff --git a/embassy-net/src/lib.rs b/embassy-net/src/lib.rs index c419ec1f9..b8e766b8b 100644 --- a/embassy-net/src/lib.rs +++ b/embassy-net/src/lib.rs @@ -288,11 +288,7 @@ impl Inner { cx: Some(cx), inner: &mut self.device, }; - if !s.iface.poll(timestamp, &mut smoldev, &mut s.sockets) { - // If poll() returns error, it may not be done yet, so poll again later. - cx.waker().wake_by_ref(); - return; - } + s.iface.poll(timestamp, &mut smoldev, &mut s.sockets); // Update link up let old_link_up = self.link_up;