diff options
Diffstat (limited to 'src/technology.c')
-rw-r--r-- | src/technology.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/technology.c b/src/technology.c index 44eeb136..976964a7 100644 --- a/src/technology.c +++ b/src/technology.c @@ -1346,6 +1346,10 @@ static connman_bool_t technology_apply_rfkill_change(struct connman_technology * gboolean apply = TRUE; GList *start, *list; + DBG("technology %p --> %d/%d vs %d/%d", + technology, softblock, hardblock, + technology->softblocked, technology->hardblocked); + if (technology->hardblocked == hardblock) goto softblock_change; @@ -1519,6 +1523,9 @@ int __connman_technology_remove_rfkill(unsigned int index, if (technology == NULL) return -ENXIO; + technology_apply_rfkill_change(technology, + technology->softblocked, !technology->hardblocked); + technology_put(technology); return 0; |