Wi-Fi station state should update when turning on/off Wi-Fi tethering:
tethering on, Wi-Fi station state should be off, tethering off, Wi-Fi
station state should be on.
Signed-off-by: Liu, Guoqiang <guoqiangx.liu@intel.com>
/* Connection state */
} else if (g_strcmp0(key, "Tethering") == 0) {
/* Tethering state */
+ if (value == TRUE)
+ netconfig_wifi_update_power_state(FALSE);
+ else
+ netconfig_wifi_update_power_state(TRUE);
}
} else if (g_str_has_prefix(tech,
CONNMAN_CELLULAR_TECHNOLOGY_PREFIX) == TRUE) {