diff options
author | Harald Welte <laforge@osmocom.org> | 2022-07-21 15:33:06 +0200 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2022-07-21 22:48:59 +0200 |
commit | 1272129ea79ec3ba10b157b87a175b253cf65162 (patch) | |
tree | 8842a7fd0d4e71df83fccfb1730ec803b9b30117 | |
parent | 99e4cc02e5d8f11bb2e9314b6e1f9c5d1215a84d (diff) |
ts_31_102: Fix EF_EPSLOCI argument ordering
We were invoking the constructor with the description as 4th positional
argument, but that was actually the 'size' argument in this case.
Let's swap the order to be aligned with other file constructors.
Change-Id: I9acee757f096fef0d8bacbec3b52f56267cd52f6
-rw-r--r-- | pySim/ts_31_102.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pySim/ts_31_102.py b/pySim/ts_31_102.py index 5df7369..aa36b71 100644 --- a/pySim/ts_31_102.py +++ b/pySim/ts_31_102.py @@ -860,8 +860,8 @@ class EF_NCP_IP(LinFixedEF): # TS 31.102 Section 4.2.91 class EF_EPSLOCI(TransparentEF): - def __init__(self, fid='6fe3', sfid=0x1e, name='EF.EPSLOCI', size=(18, 18), - desc='EPS Location Information', **kwargs): + def __init__(self, fid='6fe3', sfid=0x1e, name='EF.EPSLOCI', + desc='EPS Location Information', size=(18,18), **kwargs): super().__init__(fid, sfid=sfid, name=name, desc=desc, size=size, **kwargs) upd_status_constr = Enum( Byte, updated=0, not_updated=1, roaming_not_allowed=2) |