net: mac802154: Enhance the error path in the main tx helper
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 19 May 2022 15:05:08 +0000 (17:05 +0200)
committerStefan Schmidt <stefan@datenfreihafen.org>
Fri, 10 Jun 2022 07:48:40 +0000 (09:48 +0200)
commitd08d951a9ae7e30fc0421a1af2b4193ce4aa6b3e
tree8d43231db0fcc41c5e89170b5256c92bbd9fef21
parent983a974b40f66d202b075ab8ac584c698a3fc141
net: mac802154: Enhance the error path in the main tx helper

Before adding more logic in the error path, let's move the wake queue
call there, rename the default label and create an additional one.

There is no functional change.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Alexander Aring <aahringo@redhat.com>
Link: https://lore.kernel.org/r/20220519150516.443078-4-miquel.raynal@bootlin.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
net/mac802154/tx.c