Return-Path: From: alokbarsode@gmail.com To: linux-bluetooth@vger.kernel.org Cc: marcel@holtmann.org, Alok Barsode Subject: [PATCH 2/2] Exit bluetoothd if adapter_ops registration fails. Date: Wed, 29 Apr 2009 17:46:39 +0530 Message-Id: <1241007399-26365-1-git-send-email-alok.barsode@azingo.com> List-ID: From: Alok Barsode --- src/adapter.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/adapter.c b/src/adapter.c index da524b8..08a0e08 100644 --- a/src/adapter.c +++ b/src/adapter.c @@ -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(); -- 1.5.6.3