X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=src%2Fap%2Fhostapd.c;h=158c9b606db2073a126aef21276d642ef041874b;hb=f7c478337957d4a669cce2675ba7749d7318c518;hp=492c6a592e8ee1a5964a98b0e6d49f27c902adbf;hpb=f78feb6a7268584a88b2dfd384e31e320b887e10;p=libeap.git diff --git a/src/ap/hostapd.c b/src/ap/hostapd.c index 492c6a5..158c9b6 100644 --- a/src/ap/hostapd.c +++ b/src/ap/hostapd.c @@ -822,6 +822,12 @@ void hostapd_interface_deinit(struct hostapd_iface *iface) hostapd_flush_old_stations(hapd); hostapd_cleanup(hapd); } +} + + +void hostapd_interface_free(struct hostapd_iface *iface) +{ + size_t j; for (j = 0; j < iface->num_bss; j++) os_free(iface->bss[j]); hostapd_cleanup_iface(iface);