Re: [PATCH v1] Bluetooth: Fix LE pairing completion on connection failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Vishal,

On Thu, Jun 07, 2012, Vishal Agarwal wrote:
> +static void le_connect_complete_cb(struct hci_conn *conn, u8 status)
> +{
> +	struct pending_cmd *cmd;
> +
> +	BT_DBG("status %u", status);
> +
> +	if (!status && conn->type == LE_LINK)
> +		return;

The patch looks good to me except that this test for LE_LINK seems
unnecessary since this callback is anyway only used for LE. Could you
remove it?

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


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux