summaryrefslogtreecommitdiffstats
path: root/plugins/hso.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-06-13 08:10:13 +0200
committerMarcel Holtmann <marcel@holtmann.org>2010-06-13 08:10:13 +0200
commit66c50b6a72bee8a56e6a5577874c197ff35b538e (patch)
tree7bd59b7523745acc83c3e6673d549b7b906aac58 /plugins/hso.c
parent6a26431f585fe569ec830868f28d8da0f2d43705 (diff)
downloadofono-66c50b6a72bee8a56e6a5577874c197ff35b538e.tar.bz2
Add nasty quirk to allow HSO devices to read network code length
The AT+CRSM=192 commands are failing on HSO devices and thus it might be needed to return its details from a predefined database. Start with testing this for reading the network code length.
Diffstat (limited to 'plugins/hso.c')
-rw-r--r--plugins/hso.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/hso.c b/plugins/hso.c
index 24a76b53..9e3b35af 100644
--- a/plugins/hso.c
+++ b/plugins/hso.c
@@ -221,7 +221,8 @@ static void hso_pre_sim(struct ofono_modem *modem)
DBG("%p", modem);
ofono_devinfo_create(modem, 0, "atmodem", data->control);
- sim = ofono_sim_create(modem, 0, "atmodem", data->control);
+ sim = ofono_sim_create(modem, OFONO_VENDOR_OPTION_HSO,
+ "atmodem", data->control);
if (sim)
ofono_sim_inserted_notify(sim, TRUE);