3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 23:09:34 +01:00

netconfig: Remove roaming logic

Previously, netconfig_ipv4_select_and_install was used to install
addresses on initial connection to a network and after we have roamed.
Now for the after roaming connection scenario we have
netconfig_reconfigure. Remove roaming related code from
netconfig_ipv4_select_and_install
This commit is contained in:
Tim Kourt 2019-10-01 16:39:40 -07:00 committed by Denis Kenzior
parent 332eec9f9d
commit 50a112e425

View File

@ -597,15 +597,6 @@ static void netconfig_ipv4_select_and_install(struct netconfig *netconfig)
netconfig->rtm_protocol = RTPROT_DHCP; netconfig->rtm_protocol = RTPROT_DHCP;
if (netconfig->station_state == STATION_STATE_ROAMING) {
/*
* TODO l_dhcp_client to try to request a
* previously used address.
*
* return;
*/
}
if (l_dhcp_client_start(netconfig->dhcp_client)) if (l_dhcp_client_start(netconfig->dhcp_client))
return; return;