[PATCH 4.14 01/69] Bluetooth: refactor malicious adv data check