]> git.baikalelectronics.ru Git - kernel.git/commit
net: ieee802154: at86rf230: Forward Tx trac errors
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 7 Apr 2022 10:09:00 +0000 (12:09 +0200)
committerStefan Schmidt <stefan@datenfreihafen.org>
Mon, 25 Apr 2022 18:52:22 +0000 (20:52 +0200)
commit825e912a63c02cb0e14df64d0a27bd970f7859bc
tree41dfe73da1ef8d7c95e5abcc0ff72db7a67cca7b
parent278f0416f1aaef8f37e4f7f1a4ed881ccb25c144
net: ieee802154: at86rf230: Forward Tx trac errors

Commit d0d60234ab0a ("at86rf230: add debugfs support") brought trac
support as part of a debugfs feature, in order to add some testing
capabilities involving ack handling.

As we want to collect trac errors but do not need the debugfs feature
anymore, let's partially revert this commit, keeping the Tx trac
handling part which still makes sense. This allows to always return the
trac error directly to the core with the recently introduced
ieee802154_xmit_error() helper.

Suggested-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Alexander Aring <aahringo@redhat.com>
Link: https://lore.kernel.org/r/20220407100903.1695973-8-miquel.raynal@bootlin.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
drivers/net/ieee802154/Kconfig
drivers/net/ieee802154/at86rf230.c