mac802154: tx: fix error handling while xmit
authorAlexander Aring <alex.aring@gmail.com>
Sun, 26 Oct 2014 08:37:07 +0000 (09:37 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 26 Oct 2014 16:24:04 +0000 (17:24 +0100)
commitcdb66beaa0da7d326069b10bef090645d61d813f
treef1bdaa5cffc17bb476b31d2d1de87147141829ab
parent18d60a0d49ef3eb2d31f65cf5b652702d9c6e710
mac802154: tx: fix error handling while xmit

In case of an error we should call kfree_skb instead of consume_skb which
is called by ieee802154_xmit_complete function.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/mac802154/tx.c
This page took 0.025139 seconds and 5 git commands to generate.