mirror of git://git.sysmocom.de/ofono
atmodem: check for VENDOR_HUAWEI on sim atom
This commit is contained in:
parent
34549b4bb0
commit
45f2576bb6
|
@ -143,8 +143,10 @@ static void at_sim_read_info(struct ofono_sim *sim, int fileid,
|
|||
|
||||
snprintf(buf, sizeof(buf), "AT+CRSM=192,%i", fileid);
|
||||
|
||||
if (sd->vendor == OFONO_VENDOR_QUALCOMM_MSM)
|
||||
if (sd->vendor == OFONO_VENDOR_QUALCOMM_MSM ||
|
||||
sd->vendor == OFONO_VENDOR_HUAWEI) {
|
||||
strcat(buf, ",0,0,255"); /* Maximum possible length */
|
||||
}
|
||||
|
||||
if (g_at_chat_send(sd->chat, buf, crsm_prefix,
|
||||
at_crsm_info_cb, cbd, g_free) > 0)
|
||||
|
|
Loading…
Reference in New Issue