cyw43: remove pointless wait_complete.

This commit is contained in:
Dario Nieuwenhuis 2023-06-09 03:34:12 +02:00
parent 3465452a93
commit d46b2b49c7

View File

@ -381,10 +381,7 @@ impl<'a> Control<'a> {
}
let ioctl = CancelOnDrop(self.ioctl_state);
ioctl.0.do_ioctl(kind, cmd, iface, buf).await;
let resp_len = ioctl.0.wait_complete().await;
let resp_len = ioctl.0.do_ioctl(kind, cmd, iface, buf).await;
ioctl.defuse();
resp_len