[PATCH 5.10 001/100] Bluetooth: refactor malicious adv data check