mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-26 18:59:22 +01:00
network: Use __device_connect_network
In network_autoconnect, use the low-level version of device_connect_network
This commit is contained in:
parent
a1a6c2d7d6
commit
057b019550
@ -521,8 +521,7 @@ int network_autoconnect(struct network *network, struct scan_bss *bss)
|
|||||||
goto close_settings;
|
goto close_settings;
|
||||||
}
|
}
|
||||||
|
|
||||||
device_connect_network(network->device, network, bss, NULL);
|
return __device_connect_network(network->device, network, bss);
|
||||||
return 0;
|
|
||||||
|
|
||||||
close_settings:
|
close_settings:
|
||||||
network_settings_close(network);
|
network_settings_close(network);
|
||||||
|
Loading…
Reference in New Issue
Block a user