My suspicion here is that when this happens the two APs have different DHCP servers. The workaround forces a DHCP lease renewal when roaming between APs. However, even if this works in your case, I am not sure if this is the right thing to do. If you have a network sharing SSID between APs (usual case in campus networks, for instance), you usually have just one DHCP server in the whole network. So in cases where the wireless network is properly configured, we would ask for lease renewals unnecessarily when we roam between APs.
Note also that Android actually handles the case of having different DHCP servers in the same way, so maybe this solution is not completely insane. I still need to check in the AOSP code if there is some additional check going on before asking for the new IP.
@jibel, @julia I have a workaround for this in https:/ /bileto. ubuntu. com/#/ticket/ 2098 . Could you please give this a try?
My suspicion here is that when this happens the two APs have different DHCP servers. The workaround forces a DHCP lease renewal when roaming between APs. However, even if this works in your case, I am not sure if this is the right thing to do. If you have a network sharing SSID between APs (usual case in campus networks, for instance), you usually have just one DHCP server in the whole network. So in cases where the wireless network is properly configured, we would ask for lease renewals unnecessarily when we roam between APs.
Note also that Android actually handles the case of having different DHCP servers in the same way, so maybe this solution is not completely insane. I still need to check in the AOSP code if there is some additional check going on before asking for the new IP.