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)
commit6ec9630b1abe7622da75fd6559e3e9468655b96b
tree41dfe73da1ef8d7c95e5abcc0ff72db7a67cca7b
parent2b1c9dbf047b57f1df988d90046fc3394926cc0b
net: ieee802154: at86rf230: Forward Tx trac errors

Commit 493bc90a9683 ("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