Bluetooth: Simplify if statements in tlv_data_is_valid function
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 19 Nov 2015 15:16:42 +0000 (16:16 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 22 Nov 2015 13:00:17 +0000 (16:00 +0300)
commit31a3248dd97be9268859abed9a30c1040b2f4090
treee9e9b3637614b7727f5c8cfb48412b283cb9f1d5
parentceff86af56e09469d21732c16fd27a7337983c48
Bluetooth: Simplify if statements in tlv_data_is_valid function

The if statements for checking the flags parameter could be written a
bit easier to read. This changes this. No functional behavior has been
changed.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/mgmt.c