aboutsummaryrefslogtreecommitdiff
path: root/src/mm-sim-mbim.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-11-20 20:47:42 +0100
committerAleksander Morgado <aleksander@aleksander.es>2021-12-11 12:53:37 +0100
commit3f8ea6e8a1f16b95659e98d9b8db22a314ac725a (patch)
treec1711165b3e0345304f96981191cd621bd7ef4a3 /src/mm-sim-mbim.h
parent2bad8f5a0dc56b82cacc0982a15c2a32016f7975 (diff)
sim-mbim: common method for Subscriber Ready Status
Instead of running the Susbcriber Ready Status separately for IMSI and ICCID, we run it only once and store the results in a new private struct. It only saves one request/response right now, but it will save more once introduced other SIM parameters loaded with the same method.
Diffstat (limited to 'src/mm-sim-mbim.h')
-rw-r--r--src/mm-sim-mbim.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mm-sim-mbim.h b/src/mm-sim-mbim.h
index f6926840..49aa5561 100644
--- a/src/mm-sim-mbim.h
+++ b/src/mm-sim-mbim.h
@@ -30,9 +30,11 @@
typedef struct _MMSimMbim MMSimMbim;
typedef struct _MMSimMbimClass MMSimMbimClass;
+typedef struct _MMSimMbimPrivate MMSimMbimPrivate;
struct _MMSimMbim {
- MMBaseSim parent;
+ MMBaseSim parent;
+ MMSimMbimPrivate *priv;
};
struct _MMSimMbimClass {