aboutsummaryrefslogtreecommitdiff
path: root/libnos_transport
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@google.com>2019-04-19 09:17:58 -0700
committerBill Richardson <wfrichar@google.com>2019-04-19 09:17:58 -0700
commitc03d89d5accdd9dd12c77b88f5bb625e27ba3181 (patch)
treea758b2574bd8b45e2a384dd1edfd0113dc999a06 /libnos_transport
parent47d590efda9f7339b4226be1e1da1f01a8aa9b0f (diff)
downloadgeneric-c03d89d5accdd9dd12c77b88f5bb625e27ba3181.tar.gz
libnos_transport: Don't show crc in log messages
We don't need to see it, and some hypothetical attacker *might* find it slightly useful to know. Bug: None Test: manual (logcat | grep libnos_transport) Change-Id: I701514b3da58dee7107340c578aa778f9dfa9bfa Signed-off-by: Bill Richardson <wfrichar@google.com>
Diffstat (limited to 'libnos_transport')
-rw-r--r--libnos_transport/transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnos_transport/transport.c b/libnos_transport/transport.c
index 7dad955..551c89a 100644
--- a/libnos_transport/transport.c
+++ b/libnos_transport/transport.c
@@ -325,7 +325,7 @@ static uint32_t send_command(const struct transport_context *ctx) {
/* Tell the app to handle the request while also sending the command_info
* which will be ignored by the v0 protocol. */
- NLOGD("Write app %d command 0x%08x, crc %04x...", ctx->app_id, command, command_info.crc);
+ NLOGD("Send app %d go command 0x%08x", ctx->app_id, command);
if (0 != nos_device_write(ctx->dev, command, &command_info, sizeof(command_info))) {
NLOGE("Failed to send command datagram to app %d", ctx->app_id);
return APP_ERROR_IO;