3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 21:22:37 +01:00

netconfig: Don't re-install IPv4 address on re-configure

This commit is contained in:
Tim Kourt 2019-10-01 16:39:39 -07:00 committed by Denis Kenzior
parent f8de0a58f3
commit 332eec9f9d

View File

@ -645,17 +645,9 @@ bool netconfig_configure(struct netconfig *netconfig,
bool netconfig_reconfigure(struct netconfig *netconfig) bool netconfig_reconfigure(struct netconfig *netconfig)
{ {
if (netconfig->rtm_protocol == RTPROT_DHCP) { if (netconfig->rtm_protocol == RTPROT_DHCP) {
/* /* TODO l_dhcp_client sending a DHCP inform request */
*
* TODO l_dhcp_client to try to request a
* previously used address.
*
* return;
*/
} }
netconfig_ipv4_select_and_install(netconfig);
/* TODO: IPv6 addressing */ /* TODO: IPv6 addressing */
return true; return true;