#include "priv_netlink.h"
#include "common/ieee802_11_defs.h"
-#include "../../hostapd/hostapd.h"
-#include "../../hostapd/hw_features.h"
#include "../../hostapd/sta_flags.h"
mode->channels = os_zalloc(clen);
mode->rates = os_zalloc(rlen);
if (mode->channels == NULL || mode->rates == NULL) {
- hostapd_free_hw_features(mode, *num_modes);
+ os_free(mode->channels);
+ os_free(mode->rates);
+ os_free(mode);
return NULL;
}
#include "../../hostapd/hostapd.h"
#include "../../hostapd/wpa.h"
-#include "../../hostapd/hw_features.h"
struct test_client_socket {