diff options
author | Miquel Raynal <[email protected]> | 2022-09-05 22:27:24 +0200 |
---|---|---|
committer | Stefan Schmidt <[email protected]> | 2022-10-12 13:04:51 +0200 |
commit | 3a22550ab50a2bed1779c7d03c9f0239d33cc514 (patch) | |
tree | 6092607770ad9ce2550c09cc321def66f96ccee2 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 0218277df5a527c9e9474aa0e4e4e2f4bbc6f5cc (diff) |
net: mac802154: Avoid displaying misleading debug information
With DEBUG defined, any frame received will see its MHR fields (fc and
addresses, mainly) being printed in the kernel log buffer,
unconditionally. In most cases this is fine, but in some specific cases
(like Acknowledgment frames, where both the source and destination
addressing fields are omitted), it displays garbage which is
misleading.
Only print the addressing fields when they are present, which clarifies
the logs.
Signed-off-by: Miquel Raynal <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Stefan Schmidt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions