diff mbox series

[BlueZ,v4,3/5] client: Display wake allowed property with info

Message ID 20200319185000.BlueZ.v4.3.I80d0e557c53f464415742324eb3ff2cc4cdcbc2a@changeid (mailing list archive)
State Superseded
Delegated to: Luiz Von Dentz
Headers show
Series device: Allow devices to be marked as wake capable | expand

Commit Message

Abhishek Pandit-Subedi March 20, 2020, 1:50 a.m. UTC
Display whether the device is configured as wake allowed when queried
with cmd_info.
---

Changes in v4:
* Renamed WakeCapable to WakeAllowed

Changes in v3: None
Changes in v2:
* Newly added to show whether device is wake capable
* Removed automatically setting wake capable for HID devices

 client/main.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/client/main.c b/client/main.c
index 422da5593..4953f50f0 100644
--- a/client/main.c
+++ b/client/main.c
@@ -1637,6 +1637,7 @@  static void cmd_info(int argc, char *argv[])
 	print_property(proxy, "Trusted");
 	print_property(proxy, "Blocked");
 	print_property(proxy, "Connected");
+	print_property(proxy, "WakeAllowed");
 	print_property(proxy, "LegacyPairing");
 	print_uuids(proxy);
 	print_property(proxy, "Modalias");