Tethering: Power on Wi-Fi before enable Wi-Fi tethering
[apps/native/ug-mobile-ap.git] / include / mh_func_onoff.h
index d755b20..5056845 100644 (file)
@@ -38,7 +38,7 @@ int _handle_wifi_onoff_change(mh_appdata_t *ad);
 int _handle_bt_onoff_change(mh_appdata_t *ad);
 int _handle_usb_onoff_change(mh_appdata_t *ad);
 int _turn_off_wifi(mh_appdata_t *ad);
-int _turn_on_wifi(void);
+int _turn_on_wifi(mh_appdata_t *ad);
 bool _is_wifi_direct_on(void);
 int _turn_off_wifi_direct(mh_appdata_t *ad);