Bluetooth: Unify advertising instance flags check
authorSzymon Janc <szymon.janc@codecoup.pl>
Sun, 18 Sep 2016 10:50:05 +0000 (12:50 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 19 Sep 2016 18:19:34 +0000 (20:19 +0200)
commit2bb36870e8cb29949ef9acec37129cd8e70f1857
tree3dbc7209a8f0b30bcc93b61a777b8c5afbedf605
parent5e2c59e84b633e4f7719fdc6a2930f2a311da83a
Bluetooth: Unify advertising instance flags check

This unifies max length and TLV validity checks.

Signed-off-by: Szymon Janc <szymon.janc@codecoup.pl>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/mgmt.c