taxonomy: don't print the pointer.
The Interworking element is one byte long, but we're
printing one byte of the pointer address. Print its
value instead.
Change-Id: Iec307baef67062aa475e88ebbde631b62b9a29bb
diff --git a/src/ap/taxonomy.c b/src/ap/taxonomy.c
index 6ff25ac..b70dcb7 100644
--- a/src/ap/taxonomy.c
+++ b/src/ap/taxonomy.c
@@ -174,7 +174,7 @@
}
if ((id == 107) && (elen >= 1)) {
/* Interworking */
- snprintf(intwrk, sizeof(intwrk), ",intwrk:%02hx", ie);
+ snprintf(intwrk, sizeof(intwrk), ",intwrk:%02hx", *ie);
}
if ((id == 127) && (elen >= 4)) {
/* Extended Capabilities */