set Gateway address from DHCP results as GO address
Framework sets the DHCP server address from DHCP results
as GO IP address. But in case of static IP configuration
(EAPOL IP address allocation), the server address will be null.
So set the gateway address from DHCP results as the GO IP address.
In case of P2P use cases the gateway address is the P2P GO IP
address.
Bug: 285055829
Test: Establish negotiated P2P connection and confirmed from logs
that the GO IP address is set in DHCP results gateway address.
Test: Establish negotiated P2P connection with a peer device configured
with EAPOL IP address allocation featured and confirmed from logs
that the GO IP address is set in DHCP results gateway address.
Test: Establish P2P connection using nearbyShare and confirmed from logs
that the GO IP address is set in DHCP results gateway address.
Test: In all the above tests ping works
Change-Id: I6a4a2fe677518cfb9e76b255eccb8707c1ade034
Merged-In: I6a4a2fe677518cfb9e76b255eccb8707c1ade034
(cherry picked from commit ef1e1fdd157aa57a09c597f7a952f9369aa2bad0)
1 file changed