[PATCH 5.4 01/64] Bluetooth: refactor malicious adv data check