From: Gustavo Padovan <gustavo@padovan.org>
To: Johan Hedberg <johan.hedberg@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH v2] Bluetooth: Fix mgmt handling of power on failures
Date: Thu, 30 May 2013 18:34:38 -0300 [thread overview]
Message-ID: <20130530213438.GA14083@joana> (raw)
In-Reply-To: <1369810289-5090-1-git-send-email-johan.hedberg@gmail.com>
Hi Johan,
* Johan Hedberg <johan.hedberg@gmail.com> [2013-05-29 09:51:29 +0300]:
> From: Johan Hedberg <johan.hedberg@intel.com>
>
> If hci_dev_open fails we need to ensure that the corresponding
> mgmt_set_powered command gets an appropriate response. This patch fixes
> the missing response by adding a new mgmt_set_powered_failed function
> that's used to indicate a power on failure to mgmt. Since a sutuation
> with the device being rfkilled may require special handling in user
> space the patch uses a new dedicated mgmt status code for this.
>
> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
> Cc: stable@vger.kernel.org
> ---
> v2: Added dedicated mgmt error for the ERFKILL case
>
> include/net/bluetooth/hci_core.h | 1 +
> include/net/bluetooth/mgmt.h | 1 +
> net/bluetooth/hci_core.c | 6 +++++-
> net/bluetooth/mgmt.c | 21 +++++++++++++++++++++
> 4 files changed, 28 insertions(+), 1 deletion(-)
Patch has been applied, I fixed the typo too. Thanks.
Gustavo
prev parent reply other threads:[~2013-05-30 21:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-28 7:07 [PATCH] Bluetooth: Fix mgmt handling of power on failures Johan Hedberg
2013-05-28 10:55 ` Anderson Lizardo
2013-05-28 11:03 ` Johan Hedberg
2013-05-28 15:23 ` Gustavo Padovan
2013-05-29 0:58 ` Marcel Holtmann
2013-05-29 6:51 ` [PATCH v2] " Johan Hedberg
2013-05-30 1:55 ` Marcel Holtmann
2013-05-30 21:34 ` Gustavo Padovan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130530213438.GA14083@joana \
--to=gustavo@padovan.org \
--cc=johan.hedberg@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).