From 2120582005d28eefbb0aad198a770649b3c869a3 Mon Sep 17 00:00:00 2001
From: Navid Nikaein <navid.nikaein@eurecom.fr>
Date: Wed, 21 Oct 2015 15:35:18 +0200
Subject: [PATCH] fix the flag for the usrp device write operation (trx_write)

---
 targets/RT/USER/eNB_transport_IQ.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/targets/RT/USER/eNB_transport_IQ.c b/targets/RT/USER/eNB_transport_IQ.c
index 07533ff59cf..fffe93ab5fa 100644
--- a/targets/RT/USER/eNB_transport_IQ.c
+++ b/targets/RT/USER/eNB_transport_IQ.c
@@ -724,7 +724,7 @@ void *rrh_eNB_tx_thread(void *arg) {
 					tx_eNB,
 					spp_rf,
 					dev->devs->openair0_cfg.tx_num_channels,
-					0)<0){
+					1)<0){
 	  perror("RRH eNB : USRP write");
 	}
 	VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME( VCD_SIGNAL_DUMPER_FUNCTIONS_TRX_WRITE_RF, 0 );
-- 
GitLab