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)
158 printf("N/A"); 158 printf("N/A");
159 } 159 }
160 printf("\n"); 160 printf("\n");
161 char* p = strstr(devinfo->serial_string, "PWND:[");
162 if (p) {
163 p+=6;
164 char* pend = strchr(p, ']');
165 if (pend) {
166 printf("PWND: %.*s\n", (int)(pend-p), p);
167 }
168 }
161 } else { 169 } else {
162 printf("Could not get device info?!\n"); 170 printf("Could not get device info?!\n");
163 } 171 }