libbladeRF/bladerf2: fix error message status code in open()
This commit is contained in:
parent
53bd8da7f8
commit
fe29f1ffef
1 changed files with 1 additions and 1 deletions
|
|
@ -707,7 +707,7 @@ static int bladerf1_open(struct bladerf *dev, struct bladerf_devinfo *devinfo)
|
|||
status = dev->backend->set_fpga_protocol(dev, BACKEND_FPGA_PROTOCOL_NIOSII_LEGACY);
|
||||
}
|
||||
if (status < 0) {
|
||||
log_error("Unable to set backend FPGA protocol: %d\n", usb_speed);
|
||||
log_error("Unable to set backend FPGA protocol: %d\n", status);
|
||||
return status;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue