Return-Path: Message-ID: Date: Fri, 11 Aug 2006 17:09:40 -0300 From: "Ulisses Furquim" To: "Marcel Holtmann" Subject: Re: [Bluez-devel] "File descriptor in bad state" on sdp_connect() Cc: "BlueZ development" In-Reply-To: <1155333717.4518.14.camel@aeonflux.holtmann.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed References: <44D88EC1.7010009@pracucci.com> <44D8815D.4000108@infitsrl.com> <1155236923.4492.49.camel@aeonflux.holtmann.net> <1155333717.4518.14.camel@aeonflux.holtmann.net> List-ID: On 8/11/06, Marcel Holtmann wrote: > look into l2cap_conn_del() and check what happens if l2cap_data is NULL. > This doesn't change the behavior. Doooh. Right. We shouldn't be calling l2cap_conn_del() at all if l2cap_data is NULL so it doesn't change any behavior and we actually save one function call. :-) Regards, -- Ulisses