aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/hw_features.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2011-10-22 22:09:40 +0300
committerJouni Malinen <j@w1.fi>2011-10-22 22:09:40 +0300
commit9e0e6902a26be6594f81c1b53b1b1ea19e27c1df (patch)
treee7028b75a0a6bd7a23c2a5bc73c955e14db4cc8e /src/ap/hw_features.c
parentd01b20537838ef640c341b51f1ddb883a4c37331 (diff)
downloadexternal_wpa_supplicant_8_ti-9e0e6902a26be6594f81c1b53b1b1ea19e27c1df.zip
external_wpa_supplicant_8_ti-9e0e6902a26be6594f81c1b53b1b1ea19e27c1df.tar.gz
external_wpa_supplicant_8_ti-9e0e6902a26be6594f81c1b53b1b1ea19e27c1df.tar.bz2
Share a single wpa_scan_results_free() implementation
There is not really a very good location for this anywhere, but the function is small enough to live as an inline function for now.
Diffstat (limited to 'src/ap/hw_features.c')
-rw-r--r--src/ap/hw_features.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/ap/hw_features.c b/src/ap/hw_features.c
index 5c71c9a..e723543 100644
--- a/src/ap/hw_features.c
+++ b/src/ap/hw_features.c
@@ -407,20 +407,6 @@ 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;