]> 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>
Wed, 29 May 2013 21:43:40 +0000 (18:43 -0300)
commit22c56b8620e3b6fc2af12f31591d826a3bc68ea5
treeeac6907e3d68458b26c849f21b6bd5869efcdda2
parent1abaf22386621a9ba61ad0ed7dd1959b5b68e3cc
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