fixing thread busy crash: fixed incorrect processing of special-subframe

TX as a normal TX
This commit is contained in:
Wilson W.K. Thong
2016-12-06 10:34:08 +08:00
parent 8daa6897e9
commit 675e0b10cb
+9 -2
View File
@@ -775,14 +775,21 @@ static void *UE_thread_rxn_txnp4(void *arg)
}
if ((subframe_select( &UE->frame_parms, proc->subframe_tx) == SF_UL) ||
(UE->frame_parms.frame_type == FDD) ||
(subframe_select( &UE->frame_parms, proc->subframe_tx ) == SF_S)) {
(UE->frame_parms.frame_type == FDD) ) {
if (UE->mode != loop_through_memory) {
phy_procedures_UE_TX(UE,proc,0,0,UE->mode,no_relay);
}
}
if ((subframe_select( &UE->frame_parms, proc->subframe_tx) == SF_S) &&
(UE->frame_parms.frame_type == TDD)) {
if (UE->mode != loop_through_memory) {
phy_procedures_UE_S_TX(UE,0,0,no_relay);
}
}
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME( VCD_SIGNAL_DUMPER_FUNCTIONS_UE_THREAD_RXTX0+(proc->subframe_rx&1), 0 );