From 6aac1eed83555bc7dc998b1668d9fc52c25d1cdc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B8rn=20Mork?= Date: Mon, 24 Nov 2014 11:14:56 +0100 Subject: [PATCH] XMM626x: fix Samsung RIL v9 update MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The Samsung proprietary RIL commands are mapped using the same array as the standard commands. This means that the MAX and UNSOL_MAX macros must be updated whenever standard commands are added, or the Samsung commands will noe be correctly mapped. Change-Id: Ic9dc6305bfb6d93763445b22cf24d9ee84db98c2 Signed-off-by: Bjørn Mork --- ril/xmm6260/libril/ril.cpp | 4 ++-- ril/xmm6262/libril/ril.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ril/xmm6260/libril/ril.cpp b/ril/xmm6260/libril/ril.cpp index 64bd6d1..42b19ff 100755 --- a/ril/xmm6260/libril/ril.cpp +++ b/ril/xmm6260/libril/ril.cpp @@ -114,8 +114,8 @@ namespace android { #define appendPrintBuf(x...) #endif -#define MAX_RIL_SOL RIL_REQUEST_SET_UNSOL_CELL_INFO_LIST_RATE -#define MAX_RIL_UNSOL RIL_UNSOL_CELL_INFO_LIST +#define MAX_RIL_SOL RIL_REQUEST_IMS_SEND_SMS +#define MAX_RIL_UNSOL RIL_UNSOL_RESPONSE_IMS_NETWORK_STATE_CHANGED enum WakeType {DONT_WAKE, WAKE_PARTIAL}; diff --git a/ril/xmm6262/libril/ril.cpp b/ril/xmm6262/libril/ril.cpp index 0746474..50e9f03 100644 --- a/ril/xmm6262/libril/ril.cpp +++ b/ril/xmm6262/libril/ril.cpp @@ -114,8 +114,8 @@ namespace android { #define appendPrintBuf(x...) #endif -#define MAX_RIL_SOL RIL_REQUEST_SET_UNSOL_CELL_INFO_LIST_RATE -#define MAX_RIL_UNSOL RIL_UNSOL_CELL_INFO_LIST +#define MAX_RIL_SOL RIL_REQUEST_IMS_SEND_SMS +#define MAX_RIL_UNSOL RIL_UNSOL_RESPONSE_IMS_NETWORK_STATE_CHANGED enum WakeType {DONT_WAKE, WAKE_PARTIAL}; -- 2.20.1