aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-01-03 18:27:32 (GMT)
committerJouni Malinen <j@w1.fi>2010-01-03 18:27:32 (GMT)
commitd1f9c410c1ba8b8d007c53a01da7aa2eae4d81c9 (patch)
tree79e1e9f335c69fa2b6b30aae33942bc9f2a63138 /src/ap
parent9ba9fa07cc35c3c62916e528785002c7898ae5d7 (diff)
downloadhostap-d1f9c410c1ba8b8d007c53a01da7aa2eae4d81c9.zip
hostap-d1f9c410c1ba8b8d007c53a01da7aa2eae4d81c9.tar.gz
hostap-d1f9c410c1ba8b8d007c53a01da7aa2eae4d81c9.tar.bz2
Remove src/drivers/scan_helpers.c
Most of this file was already moved into wpa_supplicant/scan.c and we can remove the file completely by having couple of small helper functions copied to the remaining users outside core wpa_supplicant code.
Diffstat (limited to 'src/ap')
-rw-r--r--src/ap/hw_features.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ap/hw_features.c b/src/ap/hw_features.c
index 9f00e7f..0159c72 100644
--- a/src/ap/hw_features.c
+++ b/src/ap/hw_features.c
@@ -406,6 +406,20 @@ static int ieee80211n_check_40mhz_2g4(struct hostapd_iface *iface,
}
+static void wpa_scan_results_free(struct wpa_scan_results *res)
+{
+ size_t i;
+
+ if (res == NULL)
+ return;
+
+ for (i = 0; i < res->num; i++)
+ os_free(res->res[i]);
+ os_free(res->res);
+ os_free(res);
+}
+
+
static void ieee80211n_check_scan(struct hostapd_iface *iface)
{
struct wpa_scan_results *scan_res;