Make sure WiFi country code gets set properly.
The current logic forces the country code to be set if it has never
been *attempted* to be set before or if a new country code is being set.
However, it doesn't handle the case where setting the country code with
the driver fails.
This change always forces the country code to be set if it has never
been set for, taking into account potential failures coming back
from the native layer.
Cherry picked from 96cbf09d2430d0f1dc4a06bb62263c56469d63f2
Bug: 25208308
Change-Id: Ie0f03e9a16a0f681b2977f4ee19af9339281a9c0
1 file changed