Remove some unneeded header file inclusions

This commit is contained in:
Jouni Malinen 2009-11-29 18:07:08 +02:00
parent bcd154c343
commit 67470d5112
2 changed files with 3 additions and 4 deletions

View file

@ -30,8 +30,6 @@
#include "priv_netlink.h"
#include "common/ieee802_11_defs.h"
#include "../../hostapd/hostapd.h"
#include "../../hostapd/hw_features.h"
#include "../../hostapd/sta_flags.h"
@ -1200,7 +1198,9 @@ static struct hostapd_hw_modes * hostap_get_hw_feature_data(void *priv,
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;
}

View file

@ -36,7 +36,6 @@
#include "../../hostapd/hostapd.h"
#include "../../hostapd/wpa.h"
#include "../../hostapd/hw_features.h"
struct test_client_socket {