Exit bluetoothd if adapter_ops registration fails.
PATCH 2/2 Exit bluetoothd if adapter_ops registration fails.
From: Alok Barsode <[email protected]>
--- src/adapter.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
src/adapter.c +2 -2
@@ -3112,8 +3112,8 @@ void adapter_startup()int err;if (!adapter_ops) { -info ("No adapter_ops registered." ); -return ; +info ("adapter_ops registration failed. hciops plugin is not loaded." ); +exit (1 ); } err = adapter_ops->setup ();
Signature · 1 line
1.5.6.3