* [PATCH] Exit bluetoothd if adapter_ops registration fails.
@ 2009-04-29 14:56 alokbarsode
0 siblings, 0 replies; only message in thread
From: alokbarsode @ 2009-04-29 14:56 UTC (permalink / raw)
To: linux-bluetooth; +Cc: marcel, Alok Barsode
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-04-29 14:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-29 14:56 [PATCH] Exit bluetoothd if adapter_ops registration fails alokbarsode
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox