diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-06-09 03:34:12 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2023-06-09 03:34:12 +0200 |
| commit | d46b2b49c7941afed6578556dd2d6d98d072cbbb (patch) | |
| tree | 1b0a43ccebc117c98f6377b6f2187229837b49f2 /cyw43/src/control.rs | |
| parent | 3465452a93719cdb46a2af4b6d893da3aacc0a15 (diff) | |
cyw43: remove pointless wait_complete.
Diffstat (limited to 'cyw43/src/control.rs')
| -rw-r--r-- | cyw43/src/control.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cyw43/src/control.rs b/cyw43/src/control.rs index 6919d569e..c67614dd6 100644 --- a/cyw43/src/control.rs +++ b/cyw43/src/control.rs | |||
| @@ -381,10 +381,7 @@ impl<'a> Control<'a> { | |||
| 381 | } | 381 | } |
| 382 | 382 | ||
| 383 | let ioctl = CancelOnDrop(self.ioctl_state); | 383 | let ioctl = CancelOnDrop(self.ioctl_state); |
| 384 | 384 | let resp_len = ioctl.0.do_ioctl(kind, cmd, iface, buf).await; | |
| 385 | ioctl.0.do_ioctl(kind, cmd, iface, buf).await; | ||
| 386 | let resp_len = ioctl.0.wait_complete().await; | ||
| 387 | |||
| 388 | ioctl.defuse(); | 385 | ioctl.defuse(); |
| 389 | 386 | ||
| 390 | resp_len | 387 | resp_len |
