summaryrefslogtreecommitdiffstats
path: root/libwifi_system
diff options
context:
space:
mode:
authorChristopher Wiley <wiley@google.com>2016-08-25 14:13:42 -0700
committerChristopher Wiley <wiley@google.com>2016-08-25 14:13:42 -0700
commit314e52831a88e97e151a4a186cbd107d0d6f5ab6 (patch)
tree1bfe6be07c8b45b9812111134a0dc22693ed58ed /libwifi_system
parent5d0e81f974deddce0d6fedceb57bff1f2c83a64e (diff)
downloadandroid_frameworks_opt_net_wifi-314e52831a88e97e151a4a186cbd107d0d6f5ab6.tar.gz
android_frameworks_opt_net_wifi-314e52831a88e97e151a4a186cbd107d0d6f5ab6.tar.bz2
android_frameworks_opt_net_wifi-314e52831a88e97e151a4a186cbd107d0d6f5ab6.zip
Remove superfluous definition of wpa_ctrl_cleanup
We no longer use this in wifi.cpp, and the two definitions cause problems at link time on platforms without supplicant. Bug: 29620309 Change-Id: I97bf827ec114343d0885a2b148e5f9adc4510a62 Test: Should fix build on mac
Diffstat (limited to 'libwifi_system')
-rw-r--r--libwifi_system/wifi.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/libwifi_system/wifi.cpp b/libwifi_system/wifi.cpp
index e76a938e9..c6cf48fa8 100644
--- a/libwifi_system/wifi.cpp
+++ b/libwifi_system/wifi.cpp
@@ -43,7 +43,6 @@
#else
#define WPA_EVENT_TERMINATING "CTRL-EVENT-TERMINATING "
struct wpa_ctrl {};
-void wpa_ctrl_cleanup(void) {}
struct wpa_ctrl* wpa_ctrl_open(const char* ctrl_path) {
return NULL;
}