[PATCH 5.15 07/13] bluetooth: Perform careful capability checks in hci_sock_ioctl()