aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorMiquel Raynal <[email protected]>2022-04-07 12:08:59 +0200
committerStefan Schmidt <[email protected]>2022-04-25 20:52:22 +0200
commit2b1c9dbf047b57f1df988d90046fc3394926cc0b (patch)
tree4dabe8eea11aa834614bb037a4b48af0d87eab69 /tools/perf/scripts/python/libxed.py
parent5a1b57c0dde9b93ba8261fa1c81f9aae2bac284a (diff)
net: ieee802154: at86rf230: Call _xmit_hw_error() when failing to offload frames
If we end up at this location, it means that there was likely a hardware issue (either a bus error when asynchronously offloading the packet to the transceiver, or the transceiver took too long for some state change). In this case it was decided to return IEEE802154_SYSTEM_ERROR through the ieee802154_xmit_hw_error() helper dedicated to non IEEE802.15.4 specific errors. Let's use this helper instead of (almost) open-coding it. Signed-off-by: Miquel Raynal <[email protected]> Acked-by: Alexander Aring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stefan Schmidt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions