summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNalla Kartheek <karthe@codeaurora.org>2015-02-05 13:52:47 +0530
committerEthan Chen <intervigil@gmail.com>2015-03-18 23:22:28 +0000
commit6655e0006ba965530225c72cb8da0acea60e70b0 (patch)
treeb7ecd8542eeca7236eda7e23e050eec6d1955655
parent8fd5ac86a82d0aa8f6d7d6d5696d4eca040c9a8c (diff)
downloadandroid_frameworks_opt_net_wifi-6655e0006ba965530225c72cb8da0acea60e70b0.tar.gz
android_frameworks_opt_net_wifi-6655e0006ba965530225c72cb8da0acea60e70b0.tar.bz2
android_frameworks_opt_net_wifi-6655e0006ba965530225c72cb8da0acea60e70b0.zip
WiFi: Correct CMD_PNO_PERIODIC_SCAN command value
In WifiStateMachine CMD_PNO_PERIODIC_SCAN and CMD_ROAM_WATCHDOG_TIMER constants are assigned same value, due to which one of the operation fails. Assign correct command value to CMD_PNO_PERIODIC_SCAN. Change-Id: I478948d1a2c0308df4de9f0e15d0dd32a16e4a40 CRs-Fixed: 791409
-rw-r--r--service/java/com/android/server/wifi/WifiStateMachine.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/service/java/com/android/server/wifi/WifiStateMachine.java b/service/java/com/android/server/wifi/WifiStateMachine.java
index 5971c3a64..e111a62d4 100644
--- a/service/java/com/android/server/wifi/WifiStateMachine.java
+++ b/service/java/com/android/server/wifi/WifiStateMachine.java
@@ -542,13 +542,13 @@ public class WifiStateMachine extends StateMachine {
/* Set the frequency band */
static final int CMD_SET_FREQUENCY_BAND = BASE + 90;
+ /* When there are saved networks and PNO fails, we do a periodic scan to notify
+ a saved/open network in suspend mode */
+ static final int CMD_PNO_PERIODIC_SCAN = BASE + 91;
/* Enable TDLS on a specific MAC address */
static final int CMD_ENABLE_TDLS = BASE + 92;
/* DHCP/IP configuration watchdog */
static final int CMD_OBTAINING_IP_ADDRESS_WATCHDOG_TIMER = BASE + 93;
- /* When there are saved networks and PNO fails, we do a periodic scan to notify
- a saved/open network in suspend mode */
- static final int CMD_PNO_PERIODIC_SCAN = BASE + 94;
/**
* Make this timer 40 seconds, which is about the normal DHCP timeout.