~indicator-network-developers/wpasupplicant/07-series

« back to all changes in this revision

Viewing changes to src/ap/hw_features.c

  • Committer: Jouni Malinen
  • Date: 2010-01-03 18:27:32 UTC
  • Revision ID: git-v1:d1f9c410c1ba8b8d007c53a01da7aa2eae4d81c9
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.

Show diffs side-by-side

added added

removed removed

Lines of Context:
406
406
}
407
407
 
408
408
 
 
409
static void wpa_scan_results_free(struct wpa_scan_results *res)
 
410
{
 
411
        size_t i;
 
412
 
 
413
        if (res == NULL)
 
414
                return;
 
415
 
 
416
        for (i = 0; i < res->num; i++)
 
417
                os_free(res->res[i]);
 
418
        os_free(res->res);
 
419
        os_free(res);
 
420
}
 
421
 
 
422
 
409
423
static void ieee80211n_check_scan(struct hostapd_iface *iface)
410
424
{
411
425
        struct wpa_scan_results *scan_res;