library/Osmocom_Types: fix f_rnd_ra_cs(): ensure non-emergency RA
Change-Id: Idbb2a2c7c2024adea5ff5ee639aeca6eab8ebb3b
This commit is contained in:
parent
146efe6391
commit
27057e0e23
|
@ -216,7 +216,7 @@ function f_rnd_ra_cs() return OCT1 {
|
||||||
var OCT1 ra;
|
var OCT1 ra;
|
||||||
do {
|
do {
|
||||||
ra := f_rnd_octstring(1);
|
ra := f_rnd_octstring(1);
|
||||||
} while (ra_is_ps(ra));
|
} while (ra_is_ps(ra) or ra_is_emerg(ra));
|
||||||
return ra;
|
return ra;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue