]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: mgmt: improve get_adv_instance_flags() readability
authorFlorian Grandel <fgrandel@gmail.com>
Thu, 18 Jun 2015 01:16:41 +0000 (03:16 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 18 Jun 2015 16:11:51 +0000 (18:11 +0200)
commitdbf7f0f8dc65505c21441ee3ccb7a6801f19da53
tree9a0fe81b9de001ae4f2d0ac3de3168723b3b42a1
parent952f50cc3285cb4e74df6fb6c74233b4f1ae8c56
Bluetooth: mgmt: improve get_adv_instance_flags() readability

Switch if and else conditions to replace a negative statement by a
positive one which makes the condition more readable.

Signed-off-by: Florian Grandel <fgrandel@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/mgmt.c