]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit41acf90e128434679e221f13c9ba2e1c1999cadc
treebf07b619a939e27a9403907722d016257e5e8765
parent0a6d8ecb8025f5e8c4b1a0b79a65c92de193abb5
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