summaryrefslogtreecommitdiffstats
path: root/libril/ril_commands.h
diff options
context:
space:
mode:
authorDaniel Hillenbrand <codeworkx@cyanogenmod.org>2013-04-19 14:40:17 +0200
committerDaniel Hillenbrand <codeworkx@cyanogenmod.org>2013-04-19 14:40:17 +0200
commitdc1dbaa7233f4bcd822ca00ed867c2348de01e75 (patch)
tree5eec712c19de009670dc754ed03713f61c3f2b57 /libril/ril_commands.h
parentcc2ea7f7c576b61a559d914be91693454f7166a6 (diff)
downloaddevice_samsung_i9300-dc1dbaa7233f4bcd822ca00ed867c2348de01e75.zip
device_samsung_i9300-dc1dbaa7233f4bcd822ca00ed867c2348de01e75.tar.gz
device_samsung_i9300-dc1dbaa7233f4bcd822ca00ed867c2348de01e75.tar.bz2
i9300: fix 2g/3g toggle
If we're trying to set network mode 0, modem always responds with network mode 7 which causes the upper layer to set network mode 0 again. This results in a never ending loop of setting 0 and getting 7. If we're getting mode 7 we'll rewrite it to mode 0 and everyone is happy. Change-Id: Ibff9e9162589135350dd2c4b3fb392ef64d95e4a
Diffstat (limited to 'libril/ril_commands.h')
-rw-r--r--libril/ril_commands.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libril/ril_commands.h b/libril/ril_commands.h
index 96f06ba..e7ed278 100644
--- a/libril/ril_commands.h
+++ b/libril/ril_commands.h
@@ -88,7 +88,7 @@
{RIL_REQUEST_STK_HANDLE_CALL_SETUP_REQUESTED_FROM_SIM, dispatchInts, responseVoid},
{RIL_REQUEST_EXPLICIT_CALL_TRANSFER, dispatchVoid, responseVoid},
{RIL_REQUEST_SET_PREFERRED_NETWORK_TYPE, dispatchInts, responseVoid},
- {RIL_REQUEST_GET_PREFERRED_NETWORK_TYPE, dispatchVoid, responseInts},
+ {RIL_REQUEST_GET_PREFERRED_NETWORK_TYPE, dispatchVoid, responseIntsGetPreferredNetworkType},
{RIL_REQUEST_GET_NEIGHBORING_CELL_IDS, dispatchVoid, responseCellList},
{RIL_REQUEST_SET_LOCATION_UPDATES, dispatchInts, responseVoid},
{RIL_REQUEST_CDMA_SET_SUBSCRIPTION_SOURCE, dispatchInts, responseVoid},