hci_sock_get_channel
unsigned short hci_sock_get_channel(struct sock *sk);
if (hci_sock_get_channel(cmd->sk) != channel)