add clean log+exit when radio board can't start

This commit is contained in:
Laurent THOMAS
2021-12-31 11:44:49 +01:00
parent 2ecb1a626f
commit f20d280426
+2 -1
View File
@@ -148,7 +148,8 @@ int openair0_device_load(openair0_device *device,
LOG_E(HW, "%s %d:Unsupported radio head\n", __FILE__, __LINE__);
return -1;
}
}
} else
AssertFatal(false, "can't open the radio device: %s\n", get_devname(device->type));
return rc;
}