nl80211: Remove unuset set_privacy() and set_internal_bridge()
[wpasupplicant] / hostapd / accounting.c
index c4c683d..7fdcf1c 100644 (file)
@@ -20,7 +20,8 @@
 #include "eloop.h"
 #include "accounting.h"
 #include "ieee802_1x.h"
-#include "driver.h"
+#include "driver_i.h"
+#include "sta_info.h"
 
 
 /* Default interval in seconds for polling TX/RX octets from the driver if
@@ -422,7 +423,8 @@ static void accounting_sta_get_id(struct hostapd_data *hapd,
  */
 static RadiusRxResult
 accounting_receive(struct radius_msg *msg, struct radius_msg *req,
-                  u8 *shared_secret, size_t shared_secret_len, void *data)
+                  const u8 *shared_secret, size_t shared_secret_len,
+                  void *data)
 {
        if (msg->hdr->code != RADIUS_CODE_ACCOUNTING_RESPONSE) {
                printf("Unknown RADIUS message code\n");