|
@@ -25,7 +25,7 @@ struct bgscan_ops {
|
|
|
const struct wpa_ssid *ssid);
|
|
|
void (*deinit)(void *priv);
|
|
|
|
|
|
- int (*notify_scan)(void *priv);
|
|
|
+ int (*notify_scan)(void *priv, struct wpa_scan_results *scan_res);
|
|
|
void (*notify_beacon_loss)(void *priv);
|
|
|
void (*notify_signal_change)(void *priv, int above);
|
|
|
};
|
|
@@ -34,7 +34,8 @@ struct bgscan_ops {
|
|
|
|
|
|
int bgscan_init(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid);
|
|
|
void bgscan_deinit(struct wpa_supplicant *wpa_s);
|
|
|
-int bgscan_notify_scan(struct wpa_supplicant *wpa_s);
|
|
|
+int bgscan_notify_scan(struct wpa_supplicant *wpa_s,
|
|
|
+ struct wpa_scan_results *scan_res);
|
|
|
void bgscan_notify_beacon_loss(struct wpa_supplicant *wpa_s);
|
|
|
void bgscan_notify_signal_change(struct wpa_supplicant *wpa_s, int above);
|
|
|
|
|
@@ -50,7 +51,8 @@ static inline void bgscan_deinit(struct wpa_supplicant *wpa_s)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
-static inline int bgscan_notify_scan(struct wpa_supplicant *wpa_s)
|
|
|
+static inline int bgscan_notify_scan(struct wpa_supplicant *wpa_s,
|
|
|
+ struct wpa_scan_results *scan_res)
|
|
|
{
|
|
|
return 0;
|
|
|
}
|