Bluetooth: Add error handling for managment command handlers
authorJohan Hedberg <johan.hedberg@nokia.com>
Mon, 13 Dec 2010 19:07:03 +0000 (21:07 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 23 Dec 2010 00:56:56 +0000 (22:56 -0200)
commite41d8b4e131a41f2a3b74aaa783b16aa46376d8e
tree19de1c961c684614a9631e4446bbb8265f63837d
parenta40c406cbdd28dcca3483065bc2ba794cf5aaab7
Bluetooth: Add error handling for managment command handlers

The command handlers for bluetooth management messaging should be able
to report errors (such as memory allocation failures) to the higher
levels in the call stack.

Signed-off-by: Johan Hedberg <johan.hedberg@nokia.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/mgmt.c