Bluetooth: unlock if allocation fails in hci_blacklist_add()
authorDan Carpenter <error27@gmail.com>
Wed, 3 Aug 2011 14:22:45 +0000 (17:22 +0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 11 Aug 2011 22:50:25 +0000 (19:50 -0300)
commit8475e2336cf80ba6e7b27715b4b3214d73c211ab
treeb4c86acca4ef405dba900b404c7f8f85e3aac4b1
parent674db1344443204b6ce3293f2df8fd1b7665deea
Bluetooth: unlock if allocation fails in hci_blacklist_add()

There was a small typo here so we never actually hit the goto which
would call hci_dev_unlock_bh().

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/hci_core.c