Re: [SPAM]Re: [PATCH v2 4/7] Bluetooth: Add new quirk for non-persistent setup settings

From
Sean Wang <hidden>
Date
2018-05-23 06:37:03
Also in
linux-arm-kernel, linux-bluetooth, linux-mediatek
Reply to
Sean Wang, 2018-05-22
On Tue, 2018-05-22 at 16:05 +0800, Sean Wang wrote:
On Tue, 2018-05-22 at 09:21 +0200, Marcel Holtmann wrote:
quoted
Hi Sean,
[ ... ]
quoted
quoted
-	if (hci_dev_test_flag(hdev, HCI_SETUP)) {
+	if (hci_dev_test_flag(hdev, HCI_SETUP) ||
+	    test_bit(HCI_QUIRK_NON_PERSISTENT_SETUP, &hdev->quirks)) {
		hci_sock_dev_event(hdev, HCI_DEV_SETUP);
I am not 100% sure that we want to send the HCI_DEV_SETUP event also multiple times. That is a userspace change that I would need to think about. We need to check create_monitor_event() and see what the btmon trace for this looks like. Can you send me a btmon -w trace.log when this change is active.

Regards

Marcel
Sure, I'll send you the trace.log with the change is active.

	Sean
Hi, Marcel

Attached trace.log was captured when I inputted commands power on and
then off in bluetoothctl.

	Sean 
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek
  

Attachments

Thread (18 messages) 18 messages, 3 authors, last reply 2018-06-14
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help