diff --git a/targets/ARCH/LMSSDR/USERSPACE/LIB/lms_lib.cpp b/targets/ARCH/LMSSDR/USERSPACE/LIB/lms_lib.cpp
index 9f7063e51d439656db76ac5899c74a8d513e11be..e5f69d5577e0b394993914838b3fbd6026b17b95 100644
--- a/targets/ARCH/LMSSDR/USERSPACE/LIB/lms_lib.cpp
+++ b/targets/ARCH/LMSSDR/USERSPACE/LIB/lms_lib.cpp
@@ -819,7 +819,7 @@ extern "C" {
 */
 int device_init(openair0_device *device, openair0_config_t *openair0_cfg){
 
-
+  device->type=LMSSDR_DEV;
   printf("LMSSDR: Initializing openair0_device for %s ...\n", ((device->host_type == BBU_HOST) ? "BBU": "RRH"));
 
   switch ((int)openair0_cfg[0].sample_rate) {