Re: [PATCH v2] Bluetooth: Move force_bredr_smp debugfs into hci_debugfs_create_bredr

2020-11-09 Thread Marcel Holtmann
Hi Claire, > Avoid multiple attempts to create the debugfs entry, force_bredr_smp, > by moving it from the SMP registration to the BR/EDR controller init > section. hci_debugfs_create_bredr is only called when HCI_SETUP and > HCI_CONFIG is not set. > > Signed-off-by: Claire Chang > --- > v2:

Re: [PATCH v2] Bluetooth: Move force_bredr_smp debugfs into hci_debugfs_create_bredr

2020-10-27 Thread Luiz Augusto von Dentz
On Tue, Oct 27, 2020 at 10:12 AM Alain Michaud wrote: > > Friendly ping and adding my review-by tag. > > > On Wed, Oct 7, 2020 at 12:38 AM Claire Chang wrote: > > > > Hi, > > > > This patch is to fix the kernel error > > [ 46.271811] debugfs: File 'force_bredr_smp' in directory 'hci0' > >

Re: [PATCH v2] Bluetooth: Move force_bredr_smp debugfs into hci_debugfs_create_bredr

2020-10-27 Thread Alain Michaud
Friendly ping and adding my review-by tag. On Wed, Oct 7, 2020 at 12:38 AM Claire Chang wrote: > > Hi, > > This patch is to fix the kernel error > [ 46.271811] debugfs: File 'force_bredr_smp' in directory 'hci0' > already present! > > When powering off and on the bluetooth, the smp_register

Re: [PATCH v2] Bluetooth: Move force_bredr_smp debugfs into hci_debugfs_create_bredr

2020-10-06 Thread Claire Chang
Hi, This patch is to fix the kernel error [ 46.271811] debugfs: File 'force_bredr_smp' in directory 'hci0' already present! When powering off and on the bluetooth, the smp_register will try to create the force_bredr_smp entry again. Move the creation to hci_debugfs_create_bredr so the

[PATCH v2] Bluetooth: Move force_bredr_smp debugfs into hci_debugfs_create_bredr

2020-09-29 Thread Claire Chang
Avoid multiple attempts to create the debugfs entry, force_bredr_smp, by moving it from the SMP registration to the BR/EDR controller init section. hci_debugfs_create_bredr is only called when HCI_SETUP and HCI_CONFIG is not set. Signed-off-by: Claire Chang --- v2: correct a typo in commit