From: Johan Hedberg <johan.hedberg@gmail.com>
To: Andre Guedes <andre.guedes@openbossa.org>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH 05/17] Bluetooth: Make inquiry_cache_flush non-static
Date: Wed, 17 Apr 2013 11:30:05 +0300 [thread overview]
Message-ID: <20130417083005.GE6637@x220> (raw)
In-Reply-To: <1365117675-2202-6-git-send-email-andre.guedes@openbossa.org>
Hi Andre,
On Thu, Apr 04, 2013, Andre Guedes wrote:
> In order to use HCI request framework in start_discovery, we'll need
> to call inquiry_cache_flush in mgmt.c. Therefore, this patch makes
> inquiry_cache_flush non-static
>
> Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
> ---
> include/net/bluetooth/hci_core.h | 1 +
> net/bluetooth/hci_core.c | 2 +-
> 2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
> index 0e7ee89..4713514 100644
> --- a/include/net/bluetooth/hci_core.h
> +++ b/include/net/bluetooth/hci_core.h
> @@ -431,6 +431,7 @@ void hci_inquiry_cache_update_resolve(struct hci_dev *hdev,
> struct inquiry_entry *ie);
> bool hci_inquiry_cache_update(struct hci_dev *hdev, struct inquiry_data *data,
> bool name_known, bool *ssp);
> +void inquiry_cache_flush(struct hci_dev *hdev);
>
> /* ----- HCI Connections ----- */
> enum {
> diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c
> index 43ea7e3..eecab8e 100644
> --- a/net/bluetooth/hci_core.c
> +++ b/net/bluetooth/hci_core.c
> @@ -630,7 +630,7 @@ void hci_discovery_set_state(struct hci_dev *hdev, int state)
> hdev->discovery.state = state;
> }
>
> -static void inquiry_cache_flush(struct hci_dev *hdev)
> +void inquiry_cache_flush(struct hci_dev *hdev)
> {
> struct discovery_state *cache = &hdev->discovery;
> struct inquiry_entry *p, *n;
Making this public means that you also have to prefix it with hci_.
Johan
next prev parent reply other threads:[~2013-04-17 8:30 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-04 23:20 [PATCH 00/17] Update Discovery to use HCI request framework Andre Guedes
2013-04-04 23:20 ` [PATCH 01/17] Bluetooth: Change LE scanning timeout macros Andre Guedes
2013-04-17 8:28 ` Johan Hedberg
2013-04-04 23:21 ` [PATCH 02/17] Bluetooth: Add LE scan type macros Andre Guedes
2013-04-17 8:28 ` Johan Hedberg
2013-04-04 23:21 ` [PATCH 03/17] Bluetooth: Add macros for filter duplicates values Andre Guedes
2013-04-17 8:29 ` Johan Hedberg
2013-04-04 23:21 ` [PATCH 04/17] Bluetooth: Rename LE_SCANNING_* macros Andre Guedes
2013-04-17 8:29 ` Johan Hedberg
2013-04-18 4:20 ` Gustavo Padovan
2013-04-04 23:21 ` [PATCH 05/17] Bluetooth: Make inquiry_cache_flush non-static Andre Guedes
2013-04-17 8:30 ` Johan Hedberg [this message]
2013-04-17 22:17 ` Andre Guedes
2013-04-04 23:21 ` [PATCH 06/17] Bluetooth: Update start_discovery to use HCI request Andre Guedes
2013-04-04 23:21 ` [PATCH 07/17] Bluetooth: Remove start discovery handling from hci_event.c Andre Guedes
2013-04-04 23:21 ` [PATCH 08/17] Bluetooth: Move discovery macros to hci_core.h Andre Guedes
2013-04-04 23:21 ` [PATCH 09/17] Bluetooth: Update le_scan_disable_work to use HCI request Andre Guedes
2013-04-17 9:18 ` Johan Hedberg
2013-04-17 22:18 ` Andre Guedes
2013-04-04 23:21 ` [PATCH 10/17] Bluetooth: Update stop_discovery " Andre Guedes
2013-04-04 23:21 ` [PATCH 11/17] Bluetooth: Remove stop discovery handling from hci_event.c Andre Guedes
2013-04-04 23:21 ` [PATCH 12/17] Bluetooth: Refactor hci_cc_le_set_scan_enable Andre Guedes
2013-04-04 23:21 ` [PATCH 13/17] Bluetooth: Remove LE scan helpers Andre Guedes
2013-04-04 23:21 ` [PATCH 14/17] Bluetooth: Remove inquiry helpers Andre Guedes
2013-04-04 23:21 ` [PATCH 15/17] Bluetooth: Remove empty event handler Andre Guedes
2013-04-04 23:21 ` [PATCH 16/17] Bluetooth: Rename le_scan_disable delayed work Andre Guedes
2013-04-04 23:21 ` [PATCH 17/17] Bluetooth: Mgmt Device Found Event Andre Guedes
2013-04-15 16:50 ` [PATCH 00/17] Update Discovery to use HCI request framework Andre Guedes
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=20130417083005.GE6637@x220 \
--to=johan.hedberg@gmail.com \
--cc=andre.guedes@openbossa.org \
--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