Remove some unneeded header file inclusions
This commit is contained in:
parent
bcd154c343
commit
67470d5112
2 changed files with 3 additions and 4 deletions
|
@ -30,8 +30,6 @@
|
||||||
|
|
||||||
#include "priv_netlink.h"
|
#include "priv_netlink.h"
|
||||||
#include "common/ieee802_11_defs.h"
|
#include "common/ieee802_11_defs.h"
|
||||||
#include "../../hostapd/hostapd.h"
|
|
||||||
#include "../../hostapd/hw_features.h"
|
|
||||||
#include "../../hostapd/sta_flags.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->channels = os_zalloc(clen);
|
||||||
mode->rates = os_zalloc(rlen);
|
mode->rates = os_zalloc(rlen);
|
||||||
if (mode->channels == NULL || mode->rates == NULL) {
|
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;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,6 @@
|
||||||
|
|
||||||
#include "../../hostapd/hostapd.h"
|
#include "../../hostapd/hostapd.h"
|
||||||
#include "../../hostapd/wpa.h"
|
#include "../../hostapd/wpa.h"
|
||||||
#include "../../hostapd/hw_features.h"
|
|
||||||
|
|
||||||
|
|
||||||
struct test_client_socket {
|
struct test_client_socket {
|
||||||
|
|
Loading…
Reference in a new issue