Bluetooth: Use a more simpler style for HCI event callbacks
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 5 Jul 2014 08:48:01 +0000 (10:48 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Sat, 5 Jul 2014 12:45:31 +0000 (15:45 +0300)
commit45296acd91b14d32d7d023a08baaf285a0ea2193
treebf07b619a939e27a9403907722d016257e5e8765
parentf4537c04d387eda86ed89e0eafe0352f7fa0c9d0
Bluetooth: Use a more simpler style for HCI event callbacks

The HCI event callbacks have grown over the last years and some
functions handle status checking different than others. For the
simple ones, check the status at the beginning and exit if an
error with the HCI command occured.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_event.c