diff options
author | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2017-06-03 21:33:26 +0200 |
---|---|---|
committer | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2017-06-03 21:33:26 +0200 |
commit | 559ecf8fd701d969d5e0131c0e60fbbd6b42452a (patch) | |
tree | b5886eccea0ef598acb716df5736a94d280a22a0 | |
parent | f10dc57a7b1a718cdc50857180f400e1d032183b (diff) | |
download | hardware_ril_samsung-ril-559ecf8fd701d969d5e0131c0e60fbbd6b42452a.zip hardware_ril_samsung-ril-559ecf8fd701d969d5e0131c0e60fbbd6b42452a.tar.gz hardware_ril_samsung-ril-559ecf8fd701d969d5e0131c0e60fbbd6b42452a.tar.bz2 |
only check for error codes we know
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
-rw-r--r-- | ss.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -43,11 +43,10 @@ int ipc_ss_ussd_callback(struct ipc_message *message) RIL_LOGD("group %d, index %d, type %d, code 0x%04x, code inv 0x%04x", data->group, data->index, data->type, data->code, data->code & 0xff); // catch error code if no IPC_SS_USSD notification is sent - if ((data->code & 0xff) != 0x00) + if ((data->code & 0xff) == 0x32 || (data->code & 0xff) == 0x24) goto error; ril_request_complete(ipc_fmt_request_token(message->aseq), RIL_E_SUCCESS, NULL, 0); - goto complete; error: |