public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: James Le Cuirot <chewi@aura-online.co.uk>
To: linux-bluetooth@vger.kernel.org
Subject: bnep should not depend on IPv6
Date: Sun, 8 Mar 2009 18:31:55 +0000	[thread overview]
Message-ID: <20090308183155.2d68c6e4@symphony> (raw)

Hi,

I've been playing with networking in Bluez to some degree of success. I
found that whenever a PANU client tried to connect to my NAP, the bnep0
interface would fail to come up. It would only start working after
bringing it up manually. I checked out the log and found errors that
said "Bad file descriptor(9)". I looked at the source and traced this
back to network/connection.c where there are two calls to socket() with
AF_INET6 given as an argument. I don't have IPv6 support included in my
kernel so I changed these to AF_INET and everything started working.
I'm don't know what the real fix for this is, probably some kind of
ifdef construct, but I'm sure you'll know what to do.

Cheers,
James

             reply	other threads:[~2009-03-08 18:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-08 18:31 James Le Cuirot [this message]
2009-03-08 21:02 ` bnep should not depend on IPv6 James Le Cuirot
2009-03-09 13:10   ` Luiz Augusto von Dentz

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=20090308183155.2d68c6e4@symphony \
    --to=chewi@aura-online.co.uk \
    --cc=linux-bluetooth@vger.kernel.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