Added build option for removing VLAN support (CONFIG_NO_VLAN)
[wpasupplicant] / hostapd / drv_callbacks.c
index dec7eb9..e5b2efb 100644 (file)
@@ -252,6 +252,7 @@ void hostapd_eapol_receive(struct hostapd_data *hapd, const u8 *sa,
 }
 
 
+#ifdef NEED_MLME
 void hostapd_mgmt_rx(struct hostapd_data *hapd, u8 *buf, size_t len,
                     u16 stype, struct hostapd_frame_info *fi)
 {
@@ -264,6 +265,7 @@ void hostapd_mgmt_tx_cb(struct hostapd_data *hapd, u8 *buf, size_t len,
 {
        ieee802_11_mgmt_cb(hapd, buf, len, stype, ok);
 }
+#endif /* NEED_MLME */
 
 
 void hostapd_michael_mic_failure(struct hostapd_data *hapd, const u8 *addr)