[PATCH openEuler-1.0-LTS 2/2] bluetooth: Perform careful capability checks in hci_sock_ioctl()