[PATCH 5.10 006/381] bluetooth: Perform careful capability checks in hci_sock_ioctl()