Bluetooth: Refactor stop_discovery
authorAndre Guedes <andre.guedes@openbossa.org>
Tue, 20 Mar 2012 18:15:36 +0000 (15:15 -0300)
committerGustavo Padovan <gustavo@padovan.org>
Wed, 9 May 2012 03:41:33 +0000 (00:41 -0300)
commite0d9727edb3b66865989a1f592c06606392146ca
treee3b9f4fb92285fcca599899971e4b0dc665157dc
parent7537e5c3064c5a5751a7b26aba82ad83c5e89190
Bluetooth: Refactor stop_discovery

This patch does a trivial code refactoring in stop_discovery
function by using a switch statement instead of an if-return-else
approach.

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo@padovan.org>
net/bluetooth/mgmt.c
This page took 0.026289 seconds and 5 git commands to generate.