rigol-ds: Populate sdi->serial_num

This commit is contained in:
Soeren Apel 2014-10-16 22:42:50 +02:00 committed by Bert Vermeulen
parent b33db61c48
commit b3fccc851b
1 changed files with 1 additions and 1 deletions

View File

@ -300,9 +300,9 @@ static struct sr_dev_inst *probe_device(struct sr_scpi_dev_inst *scpi)
}
sdi->conn = scpi;
sdi->driver = di;
sdi->inst_type = SR_INST_SCPI;
sdi->serial_num = g_strdup(hw_info->serial_number);
if (!(devc = g_try_malloc0(sizeof(struct dev_context))))
return NULL;