Return-Path: Subject: Re: [Bluez-devel] patch for: RFComm dynamic channel allocation From: Marcel Holtmann To: "Collin R. Mulliner" Cc: BlueZ Mailing List In-Reply-To: <20040708200805.7034024f@coredump> References: <20040708165219.16a1d6db@coredump> <1089308231.4857.45.camel@pegasus> <20040708200805.7034024f@coredump> Content-Type: text/plain Message-Id: <1089311809.4857.53.camel@pegasus> Mime-Version: 1.0 Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu, 08 Jul 2004 20:36:49 +0200 Hi Collin, > > I don't get the point of your fix, because bind() to a specific > > BD_ADDR and to BDADDR_ANY are totally different and can result in > > different dynamic channel allocations. > > I understand why binding to BDADDR_ANY could lead to a different > channel, e.g. when having multiple BT devices but the current code > doesn't work when binding to a specific BD_ADDR. I only talk about > dynamic rfcomm channel allocation which takes place when calling > listen()! Not about the general bind(). the code works, because the scope of a specific BD_ADDR is different from BDADDR_ANY and both start with channel 1. I am not going to mix them two in the kernel, because this is an application specific problem you are trying to solve. Regards Marcel ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel