summaryrefslogtreecommitdiffstats
path: root/core/jni
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2010-09-07 17:29:45 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-09-07 17:29:45 -0700
commitd0f74ae081bac9a9c8f7faf9288305647735d743 (patch)
tree30034ec725477555ac4b249ba0e03ac0b29e9473 /core/jni
parentb356f8acec9fdfd36f01e5cca4fe3a28ecd6e628 (diff)
parent1907bd2f6cf0ad7358ecc001ef7a134a19d4b67c (diff)
downloadframeworks_base-d0f74ae081bac9a9c8f7faf9288305647735d743.zip
frameworks_base-d0f74ae081bac9a9c8f7faf9288305647735d743.tar.gz
frameworks_base-d0f74ae081bac9a9c8f7faf9288305647735d743.tar.bz2
Merge "Rename SETSUSPEND to SETSUSPENDOPT DO NOT MERGE" into gingerbread
Diffstat (limited to 'core/jni')
-rw-r--r--core/jni/android_net_wifi_Wifi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/jni/android_net_wifi_Wifi.cpp b/core/jni/android_net_wifi_Wifi.cpp
index 903283e..fb029e6 100644
--- a/core/jni/android_net_wifi_Wifi.cpp
+++ b/core/jni/android_net_wifi_Wifi.cpp
@@ -497,7 +497,7 @@ static jboolean android_net_wifi_setSuspendOptimizationsCommand(JNIEnv* env, job
{
char cmdstr[25];
- snprintf(cmdstr, sizeof(cmdstr), "DRIVER SETSUSPEND %d", enabled ? 0 : 1);
+ snprintf(cmdstr, sizeof(cmdstr), "DRIVER SETSUSPENDOPT %d", enabled ? 0 : 1);
return doBooleanCommand(cmdstr, "OK");
}