wpas_pr_init() should not fail if CONFIG_PR is not set. Adjust the
return value in the stub to 0 so that interface initialization can
continue when Proximity Ranging is not enabled in the configuration.
Fixes: ae3b00be3532 ("PR: Initialize Proximity Ranging global context")
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
struct wpa_supplicant *wpa_s,
const struct wpa_driver_capa *capa)
{
- return -1;
+ return 0;
}
static inline void wpas_pr_flush(struct wpa_supplicant *wpa_s)