Return-Path: Date: Sun, 13 May 2012 03:22:24 -0300 From: Gustavo Padovan To: linville@tuxdriver.com Cc: davem@davemloft.net, linux-wireless@vger.kernel.org, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH 1/2] Bluetooth: notify userspace of security level change Message-ID: <20120513062224.GC15956@joana> References: <20120512190900.GA15956@joana> <1336849910-29064-1-git-send-email-gustavo@padovan.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1336849910-29064-1-git-send-email-gustavo@padovan.org> Sender: netdev-owner@vger.kernel.org List-ID: Hi, * Gustavo Padovan [2012-05-12 16:11:49 -0300]: > When the userspace request a security level change it needs to be notified > of when the change is complete. > This patch make the socket non writable while the security request is > ongoing. If it succeeds POLL_OUT is emitted, otherwise the channel is > disconnected. I just sent a second version of this patches that includes comments Johan made in the last e-mail for better understanding of what the problem really is. Gustavo