Re: [PATCH] Bluetooth: Fix remote name event return directly.

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

 



Hi Wesley,

On Tue, May 12, 2015, wesley.kuo@xxxxxxxxx wrote:
> From: wesleyku <wesley.kuo@xxxxxxxxx>

You probably want to fix up your git author name to be of "First Last"
format. I don't think something like the above is acceptable to the git
history.

> @@ -2855,7 +2855,8 @@ static void le_scan_disable_work_complete(struct hci_dev *hdev, u8 status,
>  			 * finished, stop discovery, otherwise BR/EDR inquiry
>  			 * will stop discovery when finished.
>  			 */
> -			if (!test_bit(HCI_INQUIRY, &hdev->flags))
> +			if (!test_bit(HCI_INQUIRY, &hdev->flags) &&
> +			    hdev->discovery.state != DISCOVERY_RESOLVING)
>  				hci_discovery_set_state(hdev,
>  							DISCOVERY_STOPPED);

Does the code comment above this if-statement also need additions or
clarifying? If so, please add that.

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