summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/irecovery.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/irecovery.c b/tools/irecovery.c
index 7ea331d..6ee89b0 100644
--- a/tools/irecovery.c
+++ b/tools/irecovery.c
@@ -158,6 +158,14 @@ static void print_device_info(irecv_client_t client)
printf("N/A");
}
printf("\n");
+ char* p = strstr(devinfo->serial_string, "PWND:[");
+ if (p) {
+ p+=6;
+ char* pend = strchr(p, ']');
+ if (pend) {
+ printf("PWND: %.*s\n", (int)(pend-p), p);
+ }
+ }
} else {
printf("Could not get device info?!\n");
}