From: alokbarsode@gmail.com
To: linux-bluetooth@vger.kernel.org
Cc: marcel@holtmann.org, Alok Barsode <alok.barsode@azingo.com>
Subject: [PATCH] Exit bluetoothd if adapter_ops registration fails.
Date: Wed, 29 Apr 2009 20:26:46 +0530 [thread overview]
Message-ID: <1241017006-4278-1-git-send-email-alok.barsode@azingo.com> (raw)
From: Alok Barsode <alok.barsode@azingo.com>
---
src/adapter.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/adapter.c b/src/adapter.c
index 0e5d659..0ad5717 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -3112,8 +3112,8 @@ void adapter_ops_setup()
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
reply other threads:[~2009-04-29 14:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1241017006-4278-1-git-send-email-alok.barsode@azingo.com \
--to=alokbarsode@gmail.com \
--cc=alok.barsode@azingo.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=marcel@holtmann.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox