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:
parent
0af4c1478e
commit
6a793c5f24
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue