diff options
author | tilaksidduram <tilaksidduram@gmail.com> | 2015-12-22 20:07:09 +0530 |
---|---|---|
committer | tilaksidduram <tilaksidduram@gmail.com> | 2015-12-22 20:07:09 +0530 |
commit | 67db5ee1bb3b3835041a90ee043e0fee868a96bd (patch) | |
tree | 705a2eceeb0f7104ea027ef828490b4c4af5a7f6 | |
parent | 0e9b644abbaf2040615c78761f686ef8d39ee5ba (diff) | |
download | device_samsung_n7100-67db5ee1bb3b3835041a90ee043e0fee868a96bd.zip device_samsung_n7100-67db5ee1bb3b3835041a90ee043e0fee868a96bd.tar.gz device_samsung_n7100-67db5ee1bb3b3835041a90ee043e0fee868a96bd.tar.bz2 |
Revert "n7100: ril-wrapper: fake GET_RADIO_CAPABILITY response"
This reverts commit 0e7e0240eb089f9c8c5e65b61ea625861e37d56f.
-rw-r--r-- | ril-wrapper/ril-wrapper.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/ril-wrapper/ril-wrapper.c b/ril-wrapper/ril-wrapper.c index 886cb34..8371870 100644 --- a/ril-wrapper/ril-wrapper.c +++ b/ril-wrapper/ril-wrapper.c @@ -28,18 +28,6 @@ static RIL_RadioFunctions const *mRealRadioFuncs; static const struct RIL_Env *mEnv; -static void rilOnRequest(int request, void *data, size_t datalen, RIL_Token t) -{ - switch (request) { - case RIL_REQUEST_GET_RADIO_CAPABILITY: - RLOGW("Returning NOT_SUPPORTED on GET_RADIO_CAPABILITY"); - mEnv->OnRequestComplete(t, RIL_E_REQUEST_NOT_SUPPORTED, NULL, 0); - break; - default: - mRealRadioFuncs->onRequest(request, data, datalen, t); - } -} - const RIL_RadioFunctions* RIL_Init(const struct RIL_Env *env, int argc, char **argv) { RIL_RadioFunctions const* (*fRealRilInit)(const struct RIL_Env *env, int argc, char **argv); @@ -86,7 +74,6 @@ const RIL_RadioFunctions* RIL_Init(const struct RIL_Env *env, int argc, char **a //copy the real RIL's info struct, then replace the onRequest pointer with our own rilInfo = *mRealRadioFuncs; - rilInfo.onRequest = rilOnRequest; RLOGD("Wrapped RIL version is '%s'\n", mRealRadioFuncs->getVersion()); |