]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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, 28 Mar 2012 15:28:50 +0000 (12:28 -0300)
commitd305c3ae76902636e2d7093d1c3a6e42b2bc4c52
treec716049cb875be1f56ea6d520a9016a84a2957f4
parentd96be61cc041f1032db7ed64425195ae6430fcb4
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