]> 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)
commitd2521d1a7c0dabba114a45e4fedfd48be4bf196a
treebf07b619a939e27a9403907722d016257e5e8765
parent0cce8045e9e622b426331d0be361c13d2c8e8e02
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