diff options
author | Gjermund Hodnebrog <gjermund.hodnebrog@stericsson.com> | 2011-04-20 12:20:58 +0200 |
---|---|---|
committer | Sverre Vegge <sverre.vegge@stericsson.com> | 2011-05-19 08:57:29 +0200 |
commit | 6d546b595db0e0909a3fcb2cd7185a2171783420 (patch) | |
tree | 737b726e199de88f95ddf7e6f0ebc52e7e609cc5 | |
parent | d82abeb8976660f19045f5f6a6f2d3cadf7a7e09 (diff) | |
download | u300-6d546b595db0e0909a3fcb2cd7185a2171783420.tar.gz |
PDP: Handle network initiated PDP disconnection during screen off
Removed disabling of UR code +CGEV during screen off. +CGEV does
not happen frequency and this change is therefore not considered
to affect power consumption considerably.
Signed-off-by: Sverre Vegge <sverre.vegge@stericsson.com>
-rw-r--r-- | u300-ril-information.c | 4 | ||||
-rw-r--r-- | u300-ril.c | 3 |
2 files changed, 1 insertions, 6 deletions
diff --git a/u300-ril-information.c b/u300-ril-information.c index cb28e6f..a5e2fbf 100644 --- a/u300-ril-information.c +++ b/u300-ril-information.c @@ -213,8 +213,6 @@ void requestScreenState(void *data, size_t datalen, RIL_Token t) goto error; if (at_send_command("AT+CGREG=2", NULL) < 0) goto error; - if (at_send_command("AT+CGEREP=1,0", NULL) < 0) - goto error; if (at_send_command("AT*EPSB=1", NULL) < 0) goto error; if (at_send_command("AT+CMER=3,0,0,1", NULL) < 0) @@ -238,8 +236,6 @@ void requestScreenState(void *data, size_t datalen, RIL_Token t) #endif if (at_send_command("AT+CGREG=0", NULL) < 0) LOGI("Failed to disable CGREG notifications"); - if (at_send_command("AT+CGEREP=0,0", NULL) < 0) - LOGI("Failed to disable CGEREP notifications"); if (at_send_command("AT*EPSB=0", NULL) < 0) LOGI("Failed to disable EPSB notifications"); if (at_send_command("AT+CMER=3,0,0,0", NULL) < 0) @@ -1501,8 +1501,7 @@ static void onUnsolicited(const char *s, const char *sms_pdu) else if (strStartsWith(s, "*EPSB:")) { onNetworkStateChanged(s); onEPSBReceived(s); - } - else + } else onOemUnsolHook(s); } |