Add generic infrastructure for Probe Request callbacks
[wpasupplicant] / hostapd / beacon.c
index 1df8752..cc09c9c 100644 (file)
@@ -204,7 +204,7 @@ void handle_probe_req(struct hostapd_data *hapd, struct ieee80211_mgmt *mgmt,
        ie = mgmt->u.probe_req.variable;
        ie_len = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.probe_req));
 
-       hostapd_wps_probe_req_rx(hapd, mgmt->sa, ie, ie_len);
+       hostapd_probe_req_rx(hapd, mgmt->sa, ie, ie_len);
 
        if (!hapd->iconf->send_probe_response)
                return;