Re: [PATCH 2/2] Bluetooth: Use HCI_MGMT instead of HCI_LINK_KEYS flag

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

 



Hi Andrei,

On Tue, May 07, 2013, Andrei Emeltchenko wrote:
> --- a/net/bluetooth/hci_event.c
> +++ b/net/bluetooth/hci_event.c
> @@ -2687,7 +2687,7 @@ static void hci_link_key_notify_evt(struct hci_dev *hdev, struct sk_buff *skb)
>  		hci_conn_drop(conn);
>  	}
>  
> -	if (test_bit(HCI_LINK_KEYS, &hdev->dev_flags))
> +	if (test_bit(HCI_MGMT, &hdev->dev_flags))
>  		hci_add_link_key(hdev, conn, 1, &ev->bdaddr, ev->link_key,
>  				 ev->key_type, pin_len);
>  

It seems to me that this chunk would be more appropriately merged to the
first patch.

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