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)
commitbea28e65994de7fda06eb5f76aef3d25bd9c135f
tree9a0fe81b9de001ae4f2d0ac3de3168723b3b42a1
parent411b4121e3a38ff78695ae019642a9cab1babf12
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