summaryrefslogtreecommitdiffstats
path: root/drivers/atmodem
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-06-15 19:28:42 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-06-16 16:38:27 -0500
commit6acfa4e046a00e7bc771b3b2f0079121e68e0ecd (patch)
treecb8ea0da2a0ae350410a4ac829dcbab7187191f1 /drivers/atmodem
parentbe4a4691aa82145bad03c6f891a56d0f35bccd33 (diff)
downloadofono-6acfa4e046a00e7bc771b3b2f0079121e68e0ecd.tar.bz2
Re-arrange destruction order
Diffstat (limited to 'drivers/atmodem')
-rw-r--r--drivers/atmodem/atmodem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/atmodem/atmodem.c b/drivers/atmodem/atmodem.c
index 51d0636a..2b2abd79 100644
--- a/drivers/atmodem/atmodem.c
+++ b/drivers/atmodem/atmodem.c
@@ -92,6 +92,7 @@ static void at_destroy(struct at_data *at)
static void interface_exit(struct at_data *at)
{
+ at_phonebook_exit(at->modem);
at_sms_exit(at->modem);
at_call_forwarding_exit(at->modem);
at_call_settings_exit(at->modem);
@@ -101,7 +102,6 @@ static void interface_exit(struct at_data *at)
at_call_barring_exit(at->modem);
at_ussd_exit(at->modem);
at_sim_exit(at->modem);
- at_phonebook_exit(at->modem);
}
static void manager_free(gpointer user)