Commit f20d2804 authored by Laurent THOMAS's avatar Laurent THOMAS

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

parent 2ecb1a62
...@@ -148,7 +148,8 @@ int openair0_device_load(openair0_device *device, ...@@ -148,7 +148,8 @@ int openair0_device_load(openair0_device *device,
LOG_E(HW, "%s %d:Unsupported radio head\n", __FILE__, __LINE__); LOG_E(HW, "%s %d:Unsupported radio head\n", __FILE__, __LINE__);
return -1; return -1;
} }
} } else
AssertFatal(false, "can't open the radio device: %s\n", get_devname(device->type));
return rc; return rc;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment