diff options
author | Guido Günther <agx@sigxcpu.org> | 2011-07-21 15:15:09 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2011-07-21 15:16:44 -0500 |
commit | 70715c1c124b3220969a432be5ad2ad6f44913fe (patch) | |
tree | 59e70bb7f0559320caeafaa0701806e7d954c97f /src/mm-generic-gsm.c | |
parent | b82cec8c7e0aaab04a855d64ac46b6244b6cd98c (diff) |
huawei: implement ussd encoding/decoding
Huawei wants the USSD as packed GSM.
Diffstat (limited to 'src/mm-generic-gsm.c')
-rw-r--r-- | src/mm-generic-gsm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-generic-gsm.c b/src/mm-generic-gsm.c index 854ac0c0..541c2dda 100644 --- a/src/mm-generic-gsm.c +++ b/src/mm-generic-gsm.c @@ -4820,9 +4820,9 @@ ussd_encode (MMModemGsmUssd *modem, const char* command, guint *scheme) if (!success) goto out; + *scheme = MM_MODEM_GSM_USSD_SCHEME_7BIT; /* convert to hex representation */ hex = utils_bin2hexstr (ussd_command->data, ussd_command->len); - *scheme = 15; out: g_byte_array_free (ussd_command, TRUE); |