Add extra message for RFKILL block/unblock state changes
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 14 Sep 2009 01:37:27 +0000 (18:37 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 14 Sep 2009 01:37:27 +0000 (18:37 -0700)
src/device.c

index c7efa1d..1d66936 100644 (file)
@@ -1240,6 +1240,8 @@ int __connman_device_set_blocked(struct connman_device *device,
        if (device->offlinemode == TRUE)
                return 0;
 
+       connman_info("%s {rfkill} blocked %d", device->interface, blocked);
+
        if (blocked == FALSE)
                powered = device->powered_persistent;
        else