Fixed a typo in printf -> wpa_printf changes
[wpasupplicant] / hostapd / wme.c
index 3195ddf..f991f86 100644 (file)
@@ -19,7 +19,7 @@
 #include "ieee802_11.h"
 #include "wme.h"
 #include "sta_info.h"
-#include "driver.h"
+#include "driver_i.h"
 
 
 /* TODO: maintain separate sequence and fragment numbers for each AC
@@ -212,8 +212,7 @@ void hostapd_wme_action(struct hostapd_data *hapd, struct ieee80211_mgmt *mgmt,
        }
 
        /* extract the tspec info element */
-       if (ieee802_11_parse_elems(hapd, pos, left, &elems, 1) == ParseFailed)
-       {
+       if (ieee802_11_parse_elems(pos, left, &elems, 1) == ParseFailed) {
                hostapd_logger(hapd, mgmt->sa, HOSTAPD_MODULE_IEEE80211,
                               HOSTAPD_LEVEL_DEBUG,
                               "hostapd_wme_action - could not parse wme "