fix measurement report parsing of MEAS VALID logic
As Dieter points out, the logic level is inverted. 0 means valid.
This commit is contained in:
parent
87f5d637c5
commit
5a691b5290
|
@ -240,7 +240,7 @@ static void parse_meas_rep(struct gsm_meas_rep *rep, const u_int8_t *data,
|
|||
rep->flags |= MEAS_REP_F_BA1;
|
||||
if (data[0] & 0x40)
|
||||
rep->flags |= MEAS_REP_F_DTX;
|
||||
if (data[1] & 0x40)
|
||||
if ((data[1] & 0x40) == 0x00)
|
||||
rep->flags |= MEAS_REP_F_VALID;
|
||||
|
||||
rep->rxlev_full = data[0] & 0x3f;
|
||||
|
|
Loading…
Reference in New Issue