bgscan: Fix bgscan_init() stub declaration

The bgscan_init() declared wrongly when CONFIG_BGSCAN is not defined,
fix that.

Fixes: 3139270903 ("bgscan: Add global bgscan configuration")
Signed-off-by: Daniel Gabay <daniel.gabay@intel.com>
This commit is contained in:
Daniel Gabay 2023-12-14 18:10:40 +02:00 committed by Jouni Malinen
parent 0af4c1478e
commit 6a793c5f24

View file

@ -51,7 +51,7 @@ extern const struct bgscan_ops bgscan_learn_ops;
#else /* CONFIG_BGSCAN */ #else /* CONFIG_BGSCAN */
static inline int bgscan_init(struct wpa_supplicant *wpa_s, static inline int bgscan_init(struct wpa_supplicant *wpa_s,
struct wpa_ssid *ssid, const char name) struct wpa_ssid *ssid, const char *name)
{ {
return 0; return 0;
} }