Return-Path: MIME-Version: 1.0 In-Reply-To: <1337009699-19831-1-git-send-email-mikel.astiz.oss@gmail.com> References: <1337009699-19831-1-git-send-email-mikel.astiz.oss@gmail.com> Date: Tue, 15 May 2012 10:15:12 -0400 Message-ID: Subject: Re: [RFC v0] Bluetooth: mgmt: Add device disconnect reason From: Anderson Lizardo To: Mikel Astiz Cc: linux-bluetooth@vger.kernel.org, Mikel Astiz Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Mikel, On Mon, May 14, 2012 at 11:34 AM, Mikel Astiz wrote: > From: Mikel Astiz > > MGMT_EV_DEVICE_DISCONNECTED should expose the disconnection reason to > userland. There is "getsockopt(sock, SOL_SOCKET, SO_ERROR, &sk_err, &len)". Why is it not enough? Regards, -- Anderson Lizardo Instituto Nokia de Tecnologia - INdT Manaus - Brazil