void netconfig_error_fail_get_sim_auth_delay(GError **error);
void netconfig_error_invalid_parameter(GError **error);
void netconfig_error_permission_denied(GError **error);
+void netconfig_error_wifi_load_inprogress(GError **error);
+
#endif /* __NETCONFIG_ERROR_H__ */
static gboolean __netconfig_wifi_load_driver(void)
{
gboolean rv = FALSE;
- const char *path = WLAN_DRIVER_SCRIPT;
- char *const args[] = { "wlan.sh", "start", NULL };
- char *const envs[] = { NULL };
if (netconfig_emulator_is_emulated() == TRUE)
return rv;
#if defined EMBEDDED_TARGET
+ const char *path = WLAN_DRIVER_SCRIPT;
+ char *const args[] = { "wlan.sh", "start", NULL };
+ char *const envs[] = { NULL };
+
rv = netconfig_execute_file(path, args, envs);
if (rv != TRUE) {
DBG("Failed to load wireless device driver");
gboolean netconfig_wifi_remove_driver(void)
{
gboolean rv = FALSE;
- const char *path = WLAN_DRIVER_SCRIPT;
- char *const args[] = { "wlan.sh", "stop", NULL };
- char *const env[] = { NULL };
if (netconfig_emulator_is_emulated() == TRUE)
return rv;
#if defined EMBEDDED_TARGET
+ const char *path = WLAN_DRIVER_SCRIPT;
+ char *const args[] = { "wlan.sh", "stop", NULL };
+ char *const env[] = { NULL };
+
rv = netconfig_execute_file(path, args, env);
if (rv != TRUE) {
DBG("Failed to remove wireless device driver");