Bluetooth: fix return value check
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Sat, 14 Dec 2013 13:55:22 +0000 (21:55 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 14 Dec 2013 14:49:14 +0000 (06:49 -0800)
In case of error, the function bt_skb_alloc() returns NULL pointer
not ERR_PTR(). The IS_ERR() test in the return value check should
be replaced with NULL test.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/6lowpan.c

Simple merge