diff --git a/src/sim.c b/src/sim.c index aa480aea..09a03c0f 100644 --- a/src/sim.c +++ b/src/sim.c @@ -251,9 +251,6 @@ static char *network_name_parse(const unsigned char *buffer, int length) return NULL; } -#define SIM_EFSPN_DC_HOME_PLMN_BIT 0x1 -#define SIM_EFSPN_DC_ROAMING_SPN_BIT 0x2 - static void sim_spn_read_cb(const struct ofono_error *error, const unsigned char *sdata, int length, void *data) { diff --git a/src/simutil.h b/src/simutil.h index b1c75c14..d41db144 100644 --- a/src/simutil.h +++ b/src/simutil.h @@ -27,5 +27,8 @@ enum sim_fileid { SIM_EFSPDI_FILEID = 0x6fcd, }; +#define SIM_EFSPN_DC_HOME_PLMN_BIT 0x1 +#define SIM_EFSPN_DC_ROAMING_SPN_BIT 0x2 + const guint8 *ber_tlv_find_by_tag(const guint8 *pdu, guint8 in_tag, int in_len, int *out_len);