Bluetooth: Fix advertising instance validity check for flags
authorSzymon Janc <szymon.janc@codecoup.pl>
Sun, 18 Sep 2016 10:50:06 +0000 (12:50 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 19 Sep 2016 18:19:34 +0000 (20:19 +0200)
commit9c9db78dc0fbbd95177fefdad008e46ffaa777f2
treec190c9df37b5fbe6f11df7871b04e52d37fa74e9
parent2bb36870e8cb29949ef9acec37129cd8e70f1857
Bluetooth: Fix advertising instance validity check for flags

Flags are not allowed in Scan Response.

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