diff options
| author | kbleeke <[email protected]> | 2023-03-27 12:40:40 +0200 |
|---|---|---|
| committer | kbleeke <[email protected]> | 2023-03-27 12:40:40 +0200 |
| commit | c7646eb699e194a7c692b95b49adc76d6d3295ea (patch) | |
| tree | 0fe599dc9602c3a92b846162c8e7900999eee415 /src | |
| parent | 4c521044131279aa36f7e21dbc6ec566703a57c6 (diff) | |
bring back TODO note about dropping ioctls
Diffstat (limited to 'src')
| -rw-r--r-- | src/control.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/control.rs b/src/control.rs index 98f678fbc..f15a3d3f2 100644 --- a/src/control.rs +++ b/src/control.rs | |||
| @@ -273,6 +273,8 @@ impl<'a> Control<'a> { | |||
| 273 | } | 273 | } |
| 274 | 274 | ||
| 275 | async fn ioctl(&mut self, kind: IoctlType, cmd: u32, iface: u32, buf: &mut [u8]) -> usize { | 275 | async fn ioctl(&mut self, kind: IoctlType, cmd: u32, iface: u32, buf: &mut [u8]) -> usize { |
| 276 | // TODO cancel ioctl on future drop. | ||
| 277 | |||
| 276 | self.ioctl_state.do_ioctl(kind, cmd, iface, buf).await; | 278 | self.ioctl_state.do_ioctl(kind, cmd, iface, buf).await; |
| 277 | let resp_len = self.ioctl_state.wait_complete().await; | 279 | let resp_len = self.ioctl_state.wait_complete().await; |
| 278 | resp_len | 280 | resp_len |
