Fix f_enc_mcc_mnc() to return a properly encoded MCC/MNC triple octet.
With help from Daniel Willmann. Change-Id: I99a5317e425d15acd463aa94c683676cacd54e0b Related: OS#2754
This commit is contained in:
parent
7159dbbce6
commit
6d9309b8a4
|
@ -648,7 +648,7 @@ template BSSMAP_FIELD_CellIdentificationList ts_BSSMAP_CIL_noCell := {
|
|||
}
|
||||
|
||||
private function f_enc_mcc_mnc(GsmMcc mcc, GsmMnc mnc) return OCT3 {
|
||||
return hex2oct(mcc[1] & mcc[0] & mnc[0] & mnc[2] & mnc[1]);
|
||||
return hex2oct(mcc[1] & mcc[0] & mnc[2] & mcc[2] & mnc[1] & mnc[0]);
|
||||
}
|
||||
|
||||
template BSSMAP_FIELD_CellIdentification_CGI ts_BSSMAP_CI_CGI(GsmMcc mcc, GsmMnc mnc, GsmLac lac, GsmCellId ci) := {
|
||||
|
|
Loading…
Reference in New Issue