]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Bluetooth: Refactor hci_cc_le_set_scan_enable
authorAndre Guedes <andre.guedes@openbossa.org>
Tue, 30 Apr 2013 18:29:36 +0000 (15:29 -0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Fri, 3 May 2013 22:02:19 +0000 (19:02 -0300)
commitd457f31bfdb3802313779dc0f74bbca223d4a962
tree0cfb77c6a0691154c4d6b24743fc8500f69111b7
parent59593f054ff444e72a4cbab7e11576a1f1a1c606
Bluetooth: Refactor hci_cc_le_set_scan_enable

This patch does a trivial refactoring in hci_cc_le_set_scan_enable.
Since start and stop discovery command failures are now handled in
mgmt layer, the status check became empty. So, we can move it to
outside the switch statement.

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Acked-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/hci_event.c