]> 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)
commite0c6231acfd019e71acd0129ba3909b9a96477de
tree9a0fe81b9de001ae4f2d0ac3de3168723b3b42a1
parentbd6be4a7aceed772c38010ffae7a56e630c6e2dd
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