[PATCH 1/1] Print hexdumps with offset instead of address
Mikael Kanstrup
mikael.kanstrup at gmail.com
Tue Jun 25 07:29:50 EDT 2013
Print hexdumps with offset instead of address. This change is
done to be able to use the wcn36xx-dissector wireshark plugin
available here:
https://github.com/kanstrup/wcn36xx-dissector
---
wcn36xx.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wcn36xx.h b/wcn36xx.h
index a81ef84..76b229c 100644
--- a/wcn36xx.h
+++ b/wcn36xx.h
@@ -71,7 +71,7 @@ enum wcn36xx_debug_mask {
#define wcn36xx_dbg_dump(mask, prefix_str, buf, len) do { \
if (debug_mask & mask) \
print_hex_dump(KERN_DEBUG, prefix_str, \
- DUMP_PREFIX_ADDRESS, 32, 1, \
+ DUMP_PREFIX_OFFSET, 32, 1, \
buf, len, false); \
} while (0)
--
1.8.2.2
More information about the wcn36xx
mailing list