ieee802154: 6lowpan: fix error frag handling
authorAlexander Aring <alex.aring@gmail.com>
Mon, 10 Aug 2015 19:15:59 +0000 (21:15 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 10 Aug 2015 18:43:07 +0000 (20:43 +0200)
commit8f8db91840747e95df231f67dfa09eafeb4cc6d0
tree8380648835dc2ca02c8aa8845d1583a444a7827a
parentc91208d819c814e7f418c7a083059cf533ad0396
ieee802154: 6lowpan: fix error frag handling

This patch fixes the error handling for lowpan_xmit_fragment by replace
"-PTR_ERR" to "PTR_ERR". PTR_ERR returns already a negative errno code.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/ieee802154/6lowpan/tx.c