summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndroid Build Role Account android-build-prod <android-build-team-robot@google.com>2018-05-16 22:04:29 +0000
committerAndroid Build Role Account android-build-prod <android-build-team-robot@google.com>2018-05-16 22:04:29 +0000
commit767770dcffb7a6553d25740d2975b6e201f592be (patch)
tree3ae24f97a8994134e1737b5f23fb2274bc6bb412
parent5c34862a2eaf2c754a4651670e237faa4fc59e05 (diff)
parent113dbaa061b837ed4f743dffc1d60466a88acd85 (diff)
downloadandroid_hardware_ril-767770dcffb7a6553d25740d2975b6e201f592be.tar.gz
android_hardware_ril-767770dcffb7a6553d25740d2975b6e201f592be.tar.bz2
android_hardware_ril-767770dcffb7a6553d25740d2975b6e201f592be.zip
Snap for 4784460 from 113dbaa061b837ed4f743dffc1d60466a88acd85 to p-keystone-qcom-release
Change-Id: I33a8160df99aac7390094018818603c3a9cbce7a
-rw-r--r--include/telephony/ril.h1
-rw-r--r--libril/ril_service.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/telephony/ril.h b/include/telephony/ril.h
index 8377308..c4add62 100644
--- a/include/telephony/ril.h
+++ b/include/telephony/ril.h
@@ -2183,6 +2183,7 @@ typedef struct {
RIL_ScanStatus status; // The status of the scan
uint32_t network_infos_length; // Total length of RIL_CellInfo
RIL_CellInfo_v12* network_infos; // List of network information
+ RIL_Errno error;
} RIL_NetworkScanResult;
/**
diff --git a/libril/ril_service.cpp b/libril/ril_service.cpp
index 473ef03..fc0a5e5 100644
--- a/libril/ril_service.cpp
+++ b/libril/ril_service.cpp
@@ -8395,7 +8395,7 @@ int radio::networkScanResultInd(int slotId,
V1_1::NetworkScanResult result;
result.status = (V1_1::ScanStatus) networkScanResult->status;
- result.error = (RadioError) e;
+ result.error = (RadioError) networkScanResult->error;
convertRilCellInfoListToHal(
networkScanResult->network_infos,
networkScanResult->network_infos_length * sizeof(RIL_CellInfo_v12),