summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2016-10-03 18:19:29 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-10-03 18:19:30 +0000
commitf5d99b0d7990488da938ea69be821c48f4bfa9b7 (patch)
tree1e039af2d0e301e2c3b5e02e5c613b84edcae7b1 /service
parent3f08dd9bfa0e2a9431ebc0c970759349f4f05239 (diff)
parent2346407ae1d03ea85082792d30bee1e667a678fe (diff)
Merge "Remove unused getFreqCapability()"
Diffstat (limited to 'service')
-rw-r--r--service/java/com/android/server/wifi/WifiNative.java5
-rw-r--r--service/java/com/android/server/wifi/WifiStateMachine.java9
2 files changed, 0 insertions, 14 deletions
diff --git a/service/java/com/android/server/wifi/WifiNative.java b/service/java/com/android/server/wifi/WifiNative.java
index b22485b88..6a0e7b55f 100644
--- a/service/java/com/android/server/wifi/WifiNative.java
+++ b/service/java/com/android/server/wifi/WifiNative.java
@@ -293,11 +293,6 @@ public class WifiNative {
doStringCommand("LOG_LEVEL " + level);
}
- public String getFreqCapability() {
- return doStringCommand("GET_CAPABILITY freq");
- }
-
-
/*
* Convert string to Hexadecimal before passing to wifi native layer
* In native function "doCommand()" have trouble in converting Unicode character string to UTF8
diff --git a/service/java/com/android/server/wifi/WifiStateMachine.java b/service/java/com/android/server/wifi/WifiStateMachine.java
index 2f0a5c0b4..8e9b32364 100644
--- a/service/java/com/android/server/wifi/WifiStateMachine.java
+++ b/service/java/com/android/server/wifi/WifiStateMachine.java
@@ -491,8 +491,6 @@ public class WifiStateMachine extends StateMachine implements WifiNative.WifiRss
static final int CMD_SAVE_CONFIG = BASE + 58;
/* Get configured networks */
static final int CMD_GET_CONFIGURED_NETWORKS = BASE + 59;
- /* Get available frequencies */
- static final int CMD_GET_CAPABILITY_FREQ = BASE + 60;
/* Get adaptors */
static final int CMD_GET_SUPPORTED_FEATURES = BASE + 61;
/* Get configured networks with real preSharedKey */
@@ -3705,9 +3703,6 @@ public class WifiStateMachine extends StateMachine implements WifiNative.WifiRss
case CMD_SAVE_CONFIG:
replyToMessage(message, message.what, FAILURE);
break;
- case CMD_GET_CAPABILITY_FREQ:
- replyToMessage(message, message.what, null);
- break;
case CMD_GET_CONFIGURED_NETWORKS:
replyToMessage(message, message.what, (List<WifiConfiguration>) null);
break;
@@ -4288,10 +4283,6 @@ public class WifiStateMachine extends StateMachine implements WifiNative.WifiRss
boolean ok = mWifiNative.ping();
replyToMessage(message, message.what, ok ? SUCCESS : FAILURE);
break;
- case CMD_GET_CAPABILITY_FREQ:
- String freqs = mWifiNative.getFreqCapability();
- replyToMessage(message, message.what, freqs);
- break;
case CMD_START_AP:
/* Cannot start soft AP while in client mode */
loge("Failed to start soft AP with a running supplicant");