Skip to content

wifi: fix IP address assignment by group owner

Benjamin Berg requested to merge benzea/NetworkManager:main into main

When a fixed address is assigned by the P2P group owner, then the code would set the IPv4 configuration method to DISABLED internally. However, this causes issues, because it means that IPv4 is considered to not have come up internally which can cause the connection to later time out even though it was configured properly.

As such, map this method to MANUAL in this case. The AUTO mapping becomes then:

  • MANUAL: If the remote part is the GO and assigned an IP address
  • DHCP: If the remote part is the GO and did not assign an address
  • SHARED: If we are the GO

This fixes an issue where the connection established by GNOME Network Displays would fail once IPv6 configuration also times out.


Merge request reports