From 1812a3d9ca8178628085d8e79ed548a55e10457b Mon Sep 17 00:00:00 2001 From: Ivan Priest Date: Sat, 14 Oct 2017 10:52:20 +0100 Subject: [PATCH] [9610][7885] wlbt: disable bssid blacklist call to get O building The API and types for wifi_set_bssid_blacklist() appear to have changed. Nobble it to get code building. Change-Id: I4712459872012d70202981ca64864e8c983814ff SCSC-Bug-Id: SSB-33381 Signed-off-by: Ivan Priest --- gscan.cpp | 3 +++ wifi_hal.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gscan.cpp b/gscan.cpp index 44ba5a5..3c6d104 100755 --- a/gscan.cpp +++ b/gscan.cpp @@ -1423,6 +1423,8 @@ wifi_error wifi_reset_passpoint_list(wifi_request_id id, wifi_interface_handle i return result; } +#if 0 // TODO: (IP) removed to make it build + class BssidBlacklistCommand : public WifiCommand { private: @@ -1488,3 +1490,4 @@ wifi_error wifi_set_bssid_blacklist(wifi_request_id id, wifi_interface_handle if cmd->releaseRef(); return result; } +#endif diff --git a/wifi_hal.cpp b/wifi_hal.cpp index ed69e14..c6c7f02 100755 --- a/wifi_hal.cpp +++ b/wifi_hal.cpp @@ -123,7 +123,7 @@ wifi_error init_wifi_vendor_hal_func_table(wifi_hal_fn *fn) fn->wifi_reset_epno_list = wifi_reset_epno_list; fn->wifi_set_passpoint_list = wifi_set_passpoint_list; fn->wifi_reset_passpoint_list = wifi_reset_passpoint_list; - fn->wifi_set_bssid_blacklist = wifi_set_bssid_blacklist; +// fn->wifi_set_bssid_blacklist = wifi_set_bssid_blacklist; // TODO: (IP) make it build fn->wifi_start_rssi_monitoring = wifi_start_rssi_monitoring; fn->wifi_stop_rssi_monitoring = wifi_stop_rssi_monitoring; fn->wifi_set_link_stats = wifi_set_link_stats; -- 2.20.1