Hi Lizardo, On Wed, Feb 13, 2013, Anderson Lizardo wrote: > Hi Johan, > > On Wed, Feb 13, 2013 at 10:50 AM, Johan Hedberg <johan.hedberg@xxxxxxxxx> wrote: > > +static void hci_resend_last(struct hci_dev *hdev) > > +{ > > + struct hci_transaction *transaction; > > + struct hci_command_hdr *sent; > > + struct sk_buff *skb; > > + u16 opcode; > > + > > + if (!hdev->sent_cmd) > > + return; > > + > > + sent = (void *) hdev->sent_cmd->data; > > + opcode = __le16_to_cpu(sent->opcode); > > Where is "opcode" used? To retain the old logic in hci_req_complete() the intention here was to check for HCI_OP_RESET and return. I've fixed it in v2. Johan -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html