summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2016-01-06 21:03:25 +0100
committerPaul Kocialkowski <contact@paulk.fr>2016-01-06 21:03:25 +0100
commit3b596f7b88f172e5fb1d19439e9d629c81dc5e13 (patch)
treea8c97395e657682388a610a2867fde8684a32464
parent73cde24d9690e2b9d4fb588fa8cc54fa50ef0b3e (diff)
downloadhardware_ril_samsung-ril-3b596f7b88f172e5fb1d19439e9d629c81dc5e13.zip
hardware_ril_samsung-ril-3b596f7b88f172e5fb1d19439e9d629c81dc5e13.tar.gz
hardware_ril_samsung-ril-3b596f7b88f172e5fb1d19439e9d629c81dc5e13.tar.bz2
network: Report emergency ability when not connectedmaster
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rw-r--r--network.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/network.c b/network.c
index 6c70774..ae40dbe 100644
--- a/network.c
+++ b/network.c
@@ -222,13 +222,13 @@ int ipc2ril_net_regist_response(struct ipc_net_regist_response_data *data,
status = 1;
break;
case IPC_NET_REGISTRATION_STATUS_SEARCHING:
- status = 2;
+ status = 12;
break;
case IPC_NET_REGISTRATION_STATUS_EMERGENCY:
status = 10;
break;
case IPC_NET_REGISTRATION_STATUS_UNKNOWN:
- status = 4;
+ status = 14;
break;
case IPC_NET_REGISTRATION_STATUS_ROAMING:
status = 5;