Bluetooth: Fix skb allocation check for A2MP
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Sat, 22 Dec 2012 03:22:53 +0000 (01:22 -0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 7 Mar 2014 18:09:41 +0000 (20:09 +0200)
vtable's method alloc_skb() needs to return a ERR_PTR in case of err and
not a NULL.

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/a2mp.c

Simple merge