[PATCH 4.9 02/48] Bluetooth: refactor malicious adv data check