diff options
author | Gjermund Hodnebrog <gjermund.hodnebrog@stericsson.com> | 2011-05-04 10:44:28 +0200 |
---|---|---|
committer | Sverre Vegge <sverre.vegge@stericsson.com> | 2011-05-19 09:12:34 +0200 |
commit | 03d833208c8f8a8321106fe142a5f7007c05f2c5 (patch) | |
tree | 96465184e4a31d579f26fc1915f7f6ae45153150 | |
parent | 88b2023fc964c0b5fd047e9902683647cb20e37c (diff) | |
download | u300-03d833208c8f8a8321106fe142a5f7007c05f2c5.tar.gz |
SMS: Do not suggest retry when SMS send fails due to no network
When trying to send SMS using AT+CMGS and it fails due to CMS
error CMS_NO_NETWORK_SERVICE, the RIL must not indicate that
Android should retry (RIL_E_SMS_SEND_FAIL_RETRY). This behaviour
breaks 3GPP TS 34.123, TC16.1.2.
Signed-off-by: Sverre Vegge <sverre.vegge@stericsson.com>
-rw-r--r-- | u300-ril-messaging.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/u300-ril-messaging.c b/u300-ril-messaging.c index d57cb04..989c2a1 100644 --- a/u300-ril-messaging.c +++ b/u300-ril-messaging.c @@ -383,7 +383,6 @@ void requestSendSMS(void *data, size_t datalen, RIL_Token t) if (at_get_cms_error(atresponse, &cms_error_code)) { switch (cms_error_code) { case CMS_NETWORK_TIMEOUT: - case CMS_NO_NETWORK_SERVICE: ret = RIL_E_SMS_SEND_FAIL_RETRY; break; case CMS_PRE_DIAL_CHECK_ERROR: |