From: Andre Guedes Date: Tue, 30 Apr 2013 18:29:36 +0000 (-0300) Subject: Bluetooth: Refactor hci_cc_le_set_scan_enable X-Git-Tag: v3.11-rc1~64^2~78^2^2~23^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fd319b830247a3fe5f489e622ab404b618e0906;p=pandora-kernel.git 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 Acked-by: Johan Hedberg Signed-off-by: Gustavo Padovan --- Reading git-diff-tree failed