summaryrefslogtreecommitdiffstats
path: root/service/lib
diff options
context:
space:
mode:
authorVinit Deshpande <vinitd@google.com>2014-10-31 11:15:26 -0700
committerVinit Deshpande <vinitd@google.com>2015-01-12 14:19:59 -0800
commit83a674a18c84ff4f01377bbfd8988699dec93bc2 (patch)
treeb3c0a41432f6de54a4d63109e16ca7e1a8b86eb6 /service/lib
parente0230c8236956c2098e13a0ea837f33ac3ce11ea (diff)
downloadframeworks_opt_net_wifi-83a674a18c84ff4f01377bbfd8988699dec93bc2.tar.gz
frameworks_opt_net_wifi-83a674a18c84ff4f01377bbfd8988699dec93bc2.tar.bz2
frameworks_opt_net_wifi-83a674a18c84ff4f01377bbfd8988699dec93bc2.zip
New Additions to WifiScanner APIs [DO NOT MERGE]
Added single shot scan, and maxScansToCache. Also fixed getScanResults() to report scan results to listeners. Bug: 18087596 Bug: 17694040 Bug: 18059273 Change-Id: Id623ab9ee2ab89c86a35082279331fa609016347
Diffstat (limited to 'service/lib')
-rw-r--r--service/lib/wifi_hal.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/service/lib/wifi_hal.cpp b/service/lib/wifi_hal.cpp
index 237efd9..8a81983 100644
--- a/service/lib/wifi_hal.cpp
+++ b/service/lib/wifi_hal.cpp
@@ -67,12 +67,7 @@ wifi_error wifi_stop_gscan(wifi_request_id id, wifi_interface_handle iface) {
}
wifi_error wifi_get_cached_gscan_results(wifi_interface_handle iface, byte flush,
- int max, wifi_scan_result *results, int *num) {
- return WIFI_ERROR_UNINITIALIZED;
-}
-
-wifi_error wifi_get_cached_gscan_results(wifi_interface_handle iface, byte flush,
- wifi_scan_result *results, int *num) {
+ int max, wifi_cached_scan_results *results, int *num) {
return WIFI_ERROR_UNINITIALIZED;
}