diff --git a/src/wsc.c b/src/wsc.c index b0ea777a..60b26ca4 100644 --- a/src/wsc.c +++ b/src/wsc.c @@ -487,8 +487,6 @@ static void wsc_check_can_connect(struct wsc *wsc, struct scan_bss *target) { l_debug("%p", wsc); - if (device_get_mode(wsc->device) != DEVICE_MODE_STATION) - goto error; /* * For now we assign the target pointer directly, since we should not * be triggering any more scans while disconnecting / connecting