diff options
author | tick <tick@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2007-11-27 08:24:57 +0000 |
---|---|---|
committer | tick <tick@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2007-11-27 08:24:57 +0000 |
commit | ed45d021e84b497e75ff4342ad369c615cc174a3 (patch) | |
tree | 48da3b00a6f6c55e523ee9724b24eb3e7720a802 /src/libgsmd | |
parent | a78ac8ad867bb77c6bce88e66879e7afa8474301 (diff) |
gsmd: Refactorying get_imsi from PHONEBOOK to PHONE (tick)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3519 99fdad57-331a-0410-800a-d7fa5415bdb3
Diffstat (limited to 'src/libgsmd')
-rw-r--r-- | src/libgsmd/libgsmd_phone.c | 6 | ||||
-rw-r--r-- | src/libgsmd/libgsmd_phonebook.c | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/libgsmd/libgsmd_phone.c b/src/libgsmd/libgsmd_phone.c index 07d1d13..83e31e8 100644 --- a/src/libgsmd/libgsmd_phone.c +++ b/src/libgsmd/libgsmd_phone.c @@ -44,3 +44,9 @@ int lgsm_phone_power(struct lgsm_handle *lh, int power) return lgsm_send_simple(lh, GSMD_MSG_PHONE, type); } + +int lgsm_get_imsi(struct lgsm_handle *lh) +{ + return lgsm_send_simple(lh, GSMD_MSG_PHONE, GSMD_PHONE_GET_IMSI); +} + diff --git a/src/libgsmd/libgsmd_phonebook.c b/src/libgsmd/libgsmd_phonebook.c index 4091077..f139c2a 100644 --- a/src/libgsmd/libgsmd_phonebook.c +++ b/src/libgsmd/libgsmd_phonebook.c @@ -246,8 +246,4 @@ int lgsm_pb_retrieve_find(struct lgsm_handle *lh, int num) return 0; } -int lgsm_get_imsi(struct lgsm_handle *lh) -{ - return lgsm_send_simple(lh, GSMD_MSG_PHONEBOOK, GSMD_PHONEBOOK_GET_IMSI); -} |