Allow Probe Request callbacks to terminate iteration
[libeap.git] / src / drivers / driver.h
index c0a05ab..27a1100 100644 (file)
@@ -2007,7 +2007,7 @@ struct hostapd_frame_info {
 
 struct hostapd_data * hostapd_sta_get_bss(struct hostapd_data *hapd,
                                          const u8 *addr);
-void hostapd_probe_req_rx(struct hostapd_data *hapd, const u8 *sa,
-                         const u8 *ie, size_t ie_len);
+int hostapd_probe_req_rx(struct hostapd_data *hapd, const u8 *sa,
+                        const u8 *ie, size_t ie_len);
 
 #endif /* DRIVER_H */