All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] [PATCH] Make RemoteName D-BUS method non-blocking
Date: Thu, 20 Oct 2005 09:52:28 +0200	[thread overview]
Message-ID: <1129794748.2241.26.camel@blade> (raw)
In-Reply-To: <20051020070532.GA20546@localhost.localdomain>

Hi Johan,

> > Even if I repeat myself, but I take this whitespace thing serious and
> > you should tell your editor to visualize tabs and spaces for you.
> 
> I do too. Were there some whitespace problems with my patch? (I couldn't
> find any)

I think your patches were fine. It was Claudio introducing them again
after I cleaned them up.

> > Why don't you set rq.event to EVT_CMD_STATUS?
> 
> Because hci_send_req has a switch statement which handles the
> EVT_CMD_STATUS case separately and would never reach the case where it
> tests for hdr->evt == r->event.

This looks like a bug to me. We should check r->event == EVT_CMD_STATUS
and then exit nicely.

> Attached is a new patch which should apply cleanly to CVS.

Do you think the status parameter is needed? Is it not better to send
two different responses? One for the success case and one for the
failure case.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  reply	other threads:[~2005-10-20  7:52 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-19 14:07 [Bluez-devel] [PATCH] Make RemoteName D-BUS method non-blocking Johan Hedberg
2005-10-19 15:03 ` P. Durante
2005-10-19 17:45   ` Johan Hedberg
2005-10-19 22:58 ` Marcel Holtmann
2005-10-20  7:05   ` Johan Hedberg
2005-10-20  7:52     ` Marcel Holtmann [this message]
2005-10-20  8:37       ` Johan Hedberg
2005-10-20  9:02         ` Marcel Holtmann
2005-10-20  9:50           ` Johan Hedberg
2005-10-20 10:16             ` Marcel Holtmann
2005-10-20 11:21               ` Johan Hedberg
2005-10-20 13:37                 ` Johan Hedberg
2005-10-22 12:58                 ` Marcel Holtmann

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=1129794748.2241.26.camel@blade \
    --to=marcel@holtmann.org \
    --cc=bluez-devel@lists.sourceforge.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.