[PATCH 5.15 161/171] Bluetooth: refactor malicious adv data check