aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKai Bleeke <[email protected]>2023-05-03 20:15:43 +0200
committerGitHub <[email protected]>2023-05-03 20:15:43 +0200
commit8dbe397f993cb3a9c330c3d6d5a90a8695d87c67 (patch)
tree82593ab58ec39d913e8c3d43279ad2c6d0e9a1d4 /src
parent6ee45f5ec01208bdcb38f23bf46dcdac141ff6e7 (diff)
cleanup ioctl response logging
Diffstat (limited to 'src')
-rw-r--r--src/ioctl.rs2
-rw-r--r--src/runner.rs2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/ioctl.rs b/src/ioctl.rs
index 66c6a10e5..61524c274 100644
--- a/src/ioctl.rs
+++ b/src/ioctl.rs
@@ -110,7 +110,7 @@ impl IoctlState {
110 110
111 pub fn ioctl_done(&self, response: &[u8]) { 111 pub fn ioctl_done(&self, response: &[u8]) {
112 if let IoctlStateInner::Sent { buf } = self.state.get() { 112 if let IoctlStateInner::Sent { buf } = self.state.get() {
113 info!("IOCTL Response: {:02x}", Bytes(response)); 113 trace!("IOCTL Response: {:02x}", Bytes(response));
114 114
115 // TODO fix this 115 // TODO fix this
116 (unsafe { &mut *buf }[..response.len()]).copy_from_slice(response); 116 (unsafe { &mut *buf }[..response.len()]).copy_from_slice(response);
diff --git a/src/runner.rs b/src/runner.rs
index 9b99e174f..56b9a609c 100644
--- a/src/runner.rs
+++ b/src/runner.rs
@@ -351,8 +351,6 @@ where
351 panic!("IOCTL error {}", cdc_header.status as i32); 351 panic!("IOCTL error {}", cdc_header.status as i32);
352 } 352 }
353 353
354 info!("IOCTL Response: {:02x}", Bytes(response));
355
356 self.ioctl_state.ioctl_done(response); 354 self.ioctl_state.ioctl_done(response);
357 } 355 }
358 } 356 }