3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-27 10:52:47 +01:00

network: Use __device_connect_network

In network_autoconnect, use the low-level version of
device_connect_network
This commit is contained in:
Denis Kenzior 2018-07-02 12:27:35 -05:00
parent a1a6c2d7d6
commit 057b019550

View File

@ -521,8 +521,7 @@ int network_autoconnect(struct network *network, struct scan_bss *bss)
goto close_settings;
}
device_connect_network(network->device, network, bss, NULL);
return 0;
return __device_connect_network(network->device, network, bss);
close_settings:
network_settings_close(network);