mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 04:32:37 +01:00
wsc: Do not check device mode
There's no longer a need to do that since WSC is only created in station mode.
This commit is contained in:
parent
cc9fc8de67
commit
3628003296
@ -487,8 +487,6 @@ static void wsc_check_can_connect(struct wsc *wsc, struct scan_bss *target)
|
|||||||
{
|
{
|
||||||
l_debug("%p", wsc);
|
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
|
* For now we assign the target pointer directly, since we should not
|
||||||
* be triggering any more scans while disconnecting / connecting
|
* be triggering any more scans while disconnecting / connecting
|
||||||
|
Loading…
Reference in New Issue
Block a user