bug on threshold test
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4896 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -3178,11 +3178,10 @@ extern PHY_MEASUREMENTS PHY_measurements;
|
|||||||
|
|
||||||
void phy_UE_lte_measurement_thresholds_test_and_report(instance_t instanceP, ral_threshold_phy_t* threshold_phy_pP, uint16_t valP) {
|
void phy_UE_lte_measurement_thresholds_test_and_report(instance_t instanceP, ral_threshold_phy_t* threshold_phy_pP, uint16_t valP) {
|
||||||
MessageDef *message_p = NULL;
|
MessageDef *message_p = NULL;
|
||||||
|
|
||||||
if (
|
if (
|
||||||
(
|
(
|
||||||
((threshold_phy_pP->threshold.threshold_val > valP) && (threshold_phy_pP->threshold.threshold_xdir == RAL_ABOVE_THRESHOLD)) ||
|
((threshold_phy_pP->threshold.threshold_val < valP) && (threshold_phy_pP->threshold.threshold_xdir == RAL_ABOVE_THRESHOLD)) ||
|
||||||
((threshold_phy_pP->threshold.threshold_val < valP) && (threshold_phy_pP->threshold.threshold_xdir == RAL_BELOW_THRESHOLD))
|
((threshold_phy_pP->threshold.threshold_val > valP) && (threshold_phy_pP->threshold.threshold_xdir == RAL_BELOW_THRESHOLD))
|
||||||
) ||
|
) ||
|
||||||
(threshold_phy_pP->threshold.threshold_xdir == RAL_NO_THRESHOLD)
|
(threshold_phy_pP->threshold.threshold_xdir == RAL_NO_THRESHOLD)
|
||||||
){
|
){
|
||||||
|
|||||||
Reference in New Issue
Block a user