From: Johan Hedberg <johan.hedberg@gmail.com>
To: alokbarsode@gmail.com
Cc: linux-bluetooth@vger.kernel.org, marcel@holtmann.com,
Alok Barsode <alok.barsode@azingo.com>
Subject: Re: [PATCH 1/3] Do not exit if adapter_ops setup fails.
Date: Mon, 4 May 2009 18:25:58 +0300 [thread overview]
Message-ID: <20090504152558.GA28443@jh-x301> (raw)
In-Reply-To: <1241449694-17135-1-git-send-email-alok.barsode@azingo.com>
Hi Alok,
On Mon, May 04, 2009, alokbarsode@gmail.com wrote:
> @@ -412,10 +412,7 @@ int main(int argc, char *argv[])
>
> event_loop = g_main_loop_new(NULL, FALSE);
>
> - if (adapter_ops_setup() < 0) {
> - error("adapter_ops_setup failed");
> - exit(1);
> - }
> + adapter_ops_setup();
>
> starting = FALSE;
Do we really want this behavior? At the very least there should be a loud
error() in the case the adapter_ops_setup fails. Marcel, any opinion?
Johan
prev parent reply other threads:[~2009-05-04 15:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-04 15:08 [PATCH 1/3] Do not exit if adapter_ops setup fails alokbarsode
2009-05-04 15:08 ` [PATCH 2/3] Code cleanup in adapter.c alokbarsode
2009-05-04 15:08 ` [PATCH 3/3] Adding stop() functionality to hciops plugin alokbarsode
2009-05-04 15:30 ` Johan Hedberg
2009-05-04 15:27 ` [PATCH 2/3] Code cleanup in adapter.c Johan Hedberg
2009-05-04 15:25 ` Johan Hedberg [this message]
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=20090504152558.GA28443@jh-x301 \
--to=johan.hedberg@gmail.com \
--cc=alok.barsode@azingo.com \
--cc=alokbarsode@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=marcel@holtmann.com \
/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