diff options
author | Aki Niemi <aki.niemi@nokia.com> | 2010-10-20 17:29:42 +0300 |
---|---|---|
committer | Aki Niemi <aki.niemi@nokia.com> | 2010-10-20 17:31:17 +0300 |
commit | ae8deb68e8336d67748ae12d23c5912829bcb555 (patch) | |
tree | 33c07b541f824234d23f4826f8fe779a3f432cd7 /drivers/isimodem/sms.c | |
parent | 040a34cad2cb65e5756ce5c9e0e54148eee69e88 (diff) | |
download | ofono-ae8deb68e8336d67748ae12d23c5912829bcb555.tar.bz2 |
isimodem: Fix setting SCA type
Diffstat (limited to 'drivers/isimodem/sms.c')
-rw-r--r-- | drivers/isimodem/sms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isimodem/sms.c b/drivers/isimodem/sms.c index 49c94d81..d8c617fb 100644 --- a/drivers/isimodem/sms.c +++ b/drivers/isimodem/sms.c @@ -182,7 +182,7 @@ static void isi_sca_set(struct ofono_sms *sms, encode_bcd_number(sca->number, bcd + 2); bcd[0] = 1 + (strlen(sca->number) + 1) / 2; - bcd[1] = sca->type & 0x0f; + bcd[1] = sca->type & 0xFF; if (g_isi_request_vmake(sd->sim, iov, 4, SIM_TIMEOUT, sca_set_resp_cb, cbd)) |