Johan Hovold and Greg Kroah-Hartman
e5ae01fd46
Bluetooth: fix debugfs registration
...
commit fe2ccc6c29 upstream.
Since commit ec6cef9cd9 ("Bluetooth: Fix SMP channel registration for
unconfigured controllers") the debugfs interface for unconfigured
controllers will be created when the controller is configured.
There is however currently nothing preventing a controller from being
configured multiple time (e.g. setting the device address using btmgmt)
which results in failed attempts to register the already registered
debugfs entries:
debugfs: File 'features' in directory 'hci0' already present!
debugfs: File 'manufacturer' in directory 'hci0' already present!
debugfs: File 'hci_version' in directory 'hci0' already present!
...
debugfs: File 'quirk_simultaneous_discovery' in directory 'hci0' already present!
Add a controller flag to avoid trying to register the debugfs interface
more than once.
Fixes: ec6cef9cd9 ("Bluetooth: Fix SMP channel registration for unconfigured controllers")
Cc: stable@vger.kernel.org # 4.0
Signed-off-by: Johan Hovold <johan+linaro@kernel.org >
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2023-06-14 11:15:28 +02:00
..
2022-10-05 07:05:41 +09:00
2023-06-14 11:15:28 +02:00
2023-05-11 23:03:42 +09:00
2023-06-14 11:15:17 +02:00
2022-07-22 12:53:22 +01:00
2023-03-11 13:55:26 +01:00
2023-03-11 13:55:28 +01:00
2022-09-09 08:24:41 +01:00
2022-07-28 10:42:44 -07:00
2022-09-01 11:44:13 +01:00
2022-06-22 12:59:43 +01:00
2022-08-23 10:43:11 +02:00
2022-07-22 12:53:22 +01:00
2022-07-28 22:06:15 -07:00
2022-08-09 22:14:02 -07:00
2022-09-16 14:34:01 +01:00
2023-05-11 23:03:41 +09:00
2022-07-22 12:53:22 +01:00
2023-05-30 14:03:20 +01:00
2022-08-24 13:46:58 +01:00
2022-08-25 11:07:26 +02:00
2022-05-22 21:51:54 +01:00
2022-03-11 10:57:22 +00:00
2022-07-22 12:53:22 +01:00
2022-07-24 18:39:17 -06:00
2022-07-22 12:53:22 +01:00
2022-07-22 12:53:22 +01:00
2022-07-22 12:53:22 +01:00
2022-09-30 18:17:16 -07:00
2022-09-07 15:28:08 +01:00
2022-09-30 18:17:17 -07:00
2022-10-03 07:52:13 +01:00
2022-12-31 13:33:02 +01:00
2022-07-22 12:53:22 +01:00
2022-07-22 12:53:22 +01:00
2022-07-22 12:53:22 +01:00
2022-07-28 22:21:54 -07:00
2022-09-20 09:13:38 +02:00
2022-09-20 09:13:38 +02:00
2022-10-03 12:41:59 +01:00
2022-07-11 19:49:38 -07:00
2022-07-22 12:53:22 +01:00
2022-07-22 12:53:22 +01:00
2022-10-24 19:08:46 -07:00
2022-08-25 16:07:42 -07:00
2022-07-22 12:53:22 +01:00
2022-07-22 12:53:22 +01:00
2022-07-22 12:53:22 +01:00
2022-10-07 08:42:00 +01:00
2022-04-06 22:09:39 -07:00
2022-07-22 12:53:22 +01:00
2022-07-22 12:53:22 +01:00
2022-07-29 11:58:54 +01:00
2022-07-22 12:53:22 +01:00
2022-08-24 19:30:07 -07:00
2022-07-22 12:53:22 +01:00
2023-01-12 12:02:15 +01:00
2023-06-05 09:26:16 +02:00
2023-01-12 12:02:15 +01:00
2022-07-22 12:53:22 +01:00
2022-04-25 11:40:45 +01:00
2022-04-11 17:37:50 -07:00
2022-10-03 07:59:06 +01:00
2023-05-24 17:32:39 +01:00
2023-06-05 09:26:16 +02:00
2022-09-29 07:18:00 +02:00
2022-07-22 12:53:22 +01:00
2022-09-02 20:34:32 -07:00
2022-11-17 10:42:45 +01:00
2022-07-22 12:53:22 +01:00
2022-07-22 12:53:22 +01:00
2022-07-22 12:53:22 +01:00
2022-07-22 12:53:22 +01:00
2022-07-28 11:29:36 +02:00
2023-02-01 08:34:35 +01:00
2022-04-25 20:51:12 +02:00
2022-09-23 06:56:08 -07:00
2022-04-01 12:04:15 +01:00
2022-07-22 12:53:22 +01:00
2023-01-07 11:11:44 +01:00
2022-12-31 13:33:02 +01:00
2022-07-22 12:53:22 +01:00
2022-03-03 11:55:12 -08:00
2023-06-14 11:15:16 +02:00
2022-05-11 12:43:10 +01:00
2022-07-11 16:25:14 +02:00
2022-07-22 12:53:22 +01:00
2022-11-01 21:29:06 -07:00
2022-07-22 12:53:22 +01:00
2022-09-02 19:59:08 -07:00
2022-07-22 12:53:22 +01:00
2023-06-05 09:26:20 +02:00
2023-06-14 11:15:16 +02:00
2022-10-02 16:07:17 +01:00
2023-06-14 11:15:21 +02:00
2022-07-22 12:53:22 +01:00
2022-07-15 18:50:35 -07:00
2022-07-22 12:53:22 +01:00
2023-04-13 16:55:23 +02:00
2022-06-19 10:00:02 +01:00
2022-10-11 17:42:58 -06:00
2022-07-22 12:53:22 +01:00
2022-08-01 11:59:23 -07:00
2022-07-25 13:25:39 +01:00
2023-06-14 11:15:20 +02:00
2022-04-13 12:46:26 +01:00
2023-06-14 11:15:21 +02:00
2023-05-11 23:03:18 +09:00
2022-07-22 12:53:22 +01:00
2022-07-27 13:24:42 +01:00
2022-12-31 13:32:04 +01:00
2023-06-14 11:15:20 +02:00
2022-07-22 12:53:22 +01:00
2022-07-18 11:24:10 +01:00
2022-06-29 20:37:36 -07:00
2023-06-09 10:34:05 +02:00
2023-06-05 09:26:18 +02:00
2022-07-22 12:53:22 +01:00
2022-07-22 12:53:22 +01:00
2022-09-01 11:42:12 +01:00
2022-10-12 17:50:37 -07:00
2022-10-12 17:50:37 -07:00
2022-07-22 12:53:22 +01:00
2022-09-30 07:55:46 -07:00
2022-09-26 13:28:19 -07:00
2022-09-29 07:17:58 +02:00
2023-05-11 23:03:21 +09:00