nl80211: Remove inclusion of unneeded header files
[wpasupplicant] / src / drivers / driver_nl80211.c
index 07b9396..2c20293 100644 (file)
 #endif /* CONFIG_AP */
 
 #ifdef HOSTAPD
-#include <netlink/msg.h>
-#include <netlink/attr.h>
-#include <net/if.h>
-#include <net/if_arp.h>
-
 #include "../../hostapd/hostapd.h"
 #include "../../hostapd/sta_flags.h"
 #include "ieee802_11_common.h"
@@ -4541,9 +4536,9 @@ const struct wpa_driver_ops wpa_driver_nl80211_ops = {
        .set_country = wpa_driver_nl80211_set_country,
 #ifdef CONFIG_AP
        .set_beacon = wpa_driver_nl80211_set_beacon,
-       .send_mlme = wpa_driver_nl80211_send_mlme,
 #endif /* CONFIG_AP */
 #if defined(CONFIG_AP) || defined(HOSTAPD)
+       .send_mlme = wpa_driver_nl80211_send_mlme,
        .set_beacon_int = wpa_driver_nl80211_set_beacon_int,
        .get_hw_feature_data = wpa_driver_nl80211_get_hw_feature_data,
 #endif /* CONFIG_AP || HOSTAPD */