OSDN Git Service

When RFKILL is unblocked restore the previous power setting
[android-x86/external-bluetooth-bluez.git] / src / rfkill.c
index 065c024..286fc5c 100644 (file)
@@ -133,6 +133,8 @@ static gboolean rfkill_event(GIOChannel *chan,
 
        debug("RFKILL unblock for hci%d", id);
 
+       btd_adapter_restore_powered(adapter);
+
        return TRUE;
 }