Commit 26ecf308 authored by Cai Yang's avatar Cai Yang

modify lte-enb.c double pthread_mutex_lock

parent 9579c8c4
...@@ -554,10 +554,7 @@ int wakeup_txfh(PHY_VARS_eNB *eNB, L1_rxtx_proc_t *proc,int frame_tx,int subfram ...@@ -554,10 +554,7 @@ int wakeup_txfh(PHY_VARS_eNB *eNB, L1_rxtx_proc_t *proc,int frame_tx,int subfram
LOG_W(PHY,"Dropping TX slot (%d.%d) because FH is blocked more than 1 subframe times (1ms)\n",frame_tx,subframe_tx); LOG_W(PHY,"Dropping TX slot (%d.%d) because FH is blocked more than 1 subframe times (1ms)\n",frame_tx,subframe_tx);
if ((ret=pthread_mutex_lock(&eNB->proc.mutex_RU_tx))!=0) { if ((ret=pthread_mutex_lock(&eNB->proc.mutex_RU_tx))!=0) {
if ((ret=pthread_mutex_lock(&eNB->proc.mutex_RU_tx))!=0) { LOG_E(PHY,"mutex_lock returns %d\n",ret);
LOG_E(PHY,"mutex_lock returns %d\n",ret);
return -1;
}
return -1; return -1;
} }
eNB->proc.RU_mask_tx = 0; eNB->proc.RU_mask_tx = 0;
......
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