Skip to content

Commit

Permalink
technology: Do not activate technology if returning from hardblock wh…
Browse files Browse the repository at this point in the history
…ile in offline mode
  • Loading branch information
jukkar authored and Daniel Wagner committed Jul 17, 2013
1 parent 5378ab9 commit f2a958c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/technology.c
Expand Up @@ -1596,6 +1596,9 @@ static connman_bool_t technology_apply_rfkill_change(struct connman_technology *
} else {
DBG("%s is switched on.", get_name(technology->type));
technology_dbus_register(technology);

if (global_offlinemode)
__connman_rfkill_block(technology->type, TRUE);
}
}

Expand Down

0 comments on commit f2a958c

Please sign in to comment.