Return-path: Received: from mail-la0-f48.google.com ([209.85.215.48]:58574 "EHLO mail-la0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750757AbaKSLRy (ORCPT ); Wed, 19 Nov 2014 06:17:54 -0500 Date: Wed, 19 Nov 2014 13:17:44 +0200 From: Johan Hedberg To: "Kirill A. Shutemov" Cc: linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, Chan-yeol Park , Kyungmin Park , linville@tuxdriver.com, linux-wireless@vger.kernel.org Subject: Re: pull request: bluetooth-next 2014-11-07 Message-ID: <20141119111744.GA8153@t440s.lan> (sfid-20141119_121815_998522_052D3BA9) References: <20141118133459.GB27428@node.dhcp.inet.fi> <20141118180919.GA32128@t440s.P-661HNU-F1> <20141119110654.GA1894@node.dhcp.inet.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20141119110654.GA1894@node.dhcp.inet.fi> Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi Kirill, On Wed, Nov 19, 2014, Kirill A. Shutemov wrote: > > From: Johan Hedberg > > Date: Tue, 18 Nov 2014 20:00:15 +0200 > > Subject: [PATCH] Bluetooth: Fix setting state back to TASK_RUNNING > > > > In __hci_cmd_sync_ev() and __hci_req_sync() if the hci_req_run() call > > fails and we return from the functions we should ensure that the state > > doesn't remain in TASK_INTERRUPTIBLE that we just set it to. This patch > > fixes missing calls to set_current_state(TASK_RUNNING) in both places. > > > > Signed-off-by: Johan Hedberg > > This patch helps -- warning is gone. Thanks! I've resent it to linux-bluetooth with the appropriate Reported-by/Tested-by credits. It'll be included in the next pull request for the bluetooth-next tree. Johan