diag_log: rough verification if response matches request
This commit is contained in:
parent
c265c1206d
commit
e4204631bc
|
@ -126,7 +126,9 @@ void diag_log_enable_all_supported_family(struct diag_instance *di, uint8_t fami
|
|||
}
|
||||
|
||||
rx = diag_transceive_msg(di, msg);
|
||||
/* FIXME */
|
||||
if (rx->l2h[0] != 0x53)
|
||||
fprintf(stderr, "Error enabling logs for family %d\n", family);
|
||||
/* FIXME: further validation of response */
|
||||
msgb_free(rx);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue