aboutsummaryrefslogtreecommitdiffstats
path: root/src/diag_log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/diag_log.c')
-rw-r--r--src/diag_log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diag_log.c b/src/diag_log.c
index e27d0c2..3f09a8b 100644
--- a/src/diag_log.c
+++ b/src/diag_log.c
@@ -126,7 +126,7 @@ void diag_log_enable_all_supported_family(struct diag_instance *di, uint8_t fami
}
rx = diag_transceive_msg(di, msg);
- if (rx->l2h[0] != 0x53)
+ if (rx->l2h[0] != DIAG_LOG_CONFIG_F)
fprintf(stderr, "Error enabling logs for family %d\n", family);
/* FIXME: further validation of response */
msgb_free(rx);