Hi Johan, On Tue, May 28, 2013 at 3:07 AM, Johan Hedberg <johan.hedberg@xxxxxxxxx> wrote: > +int mgmt_set_powered_failed(struct hci_dev *hdev, int err) > +{ > + struct pending_cmd *cmd; > + > + cmd = mgmt_pending_find(MGMT_OP_SET_POWERED, hdev); > + if (!cmd) > + return -ENOENT; > + > + err = cmd_status(cmd->sk, hdev->id, MGMT_OP_SET_POWERED, > + MGMT_STATUS_FAILED); > + > + mgmt_pending_remove(cmd); > + > + return err; > +} > + Was the "err" parameter value supposed to be used on this function? Best Regards, -- Anderson Lizardo Instituto Nokia de Tecnologia - INdT Manaus - Brazil -- 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