diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-09-02 15:22:30 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-09-02 15:22:30 -0700 |
commit | 2dc4d7d2d73d8ee00694b348e0ca26200a4a2982 (patch) | |
tree | d0f9f2929e26d52ec375002ea626df11f0cad8a9 /plugins | |
parent | e555445f2392ec9559de03f519d13541163df049 (diff) | |
download | ofono-2dc4d7d2d73d8ee00694b348e0ca26200a4a2982.tar.bz2 |
Unset the driver data when MBM driver is removed
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mbm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mbm.c b/plugins/mbm.c index 4945dcec..1124e4f3 100644 --- a/plugins/mbm.c +++ b/plugins/mbm.c @@ -65,6 +65,8 @@ static void mbm_remove(struct ofono_modem *modem) ofono_info("MBM remove"); + ofono_modem_set_data(modem, NULL); + g_free(data); } |