linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Gix, Brian" <brian.gix@intel.com>
To: "linux-bluetooth@vger.kernel.org" <linux-bluetooth@vger.kernel.org>
Cc: "michal.lowas-rzechonek@silvair.com" 
	<michal.lowas-rzechonek@silvair.com>,
	"Stotland, Inga" <inga.stotland@intel.com>
Subject: Re: [PATCH BlueZ] mesh: remove uneeded BDADDR type check
Date: Mon, 14 Jan 2019 22:10:04 +0000	[thread overview]
Message-ID: <1547503802.32139.0.camel@intel.com> (raw)
In-Reply-To: <20190110232229.22630-1-brian.gix@intel.com>

Patch Applied

On Thu, 2019-01-10 at 15:22 -0800, Brian Gix wrote:
> BT_HCI_EVT_LE_ADV_REPORT only comes from legal LE events
> ---
>  mesh/mesh-io-generic.c | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/mesh/mesh-io-generic.c b/mesh/mesh-io-generic.c
> index 48e47e7a4..670c7ab97 100644
> --- a/mesh/mesh-io-generic.c
> +++ b/mesh/mesh-io-generic.c
> @@ -130,10 +130,6 @@ static void event_adv_report(struct mesh_io *io, const void *buf, uint8_t size)
>  	if (evt->event_type != 0x03)
>  		return;
>  
> -	if (evt->addr_type != BDADDR_LE_PUBLIC &&
> -			evt->addr_type != BDADDR_LE_RANDOM)
> -		return;
> -
>  	instant = get_instant();
>  	adv = evt->data;
>  	adv_len = evt->data_len;

      reply	other threads:[~2019-01-14 22:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-10 23:22 [PATCH BlueZ] mesh: remove uneeded BDADDR type check Brian Gix
2019-01-14 22:10 ` Gix, Brian [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=1547503802.32139.0.camel@intel.com \
    --to=brian.gix@intel.com \
    --cc=inga.stotland@intel.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=michal.lowas-rzechonek@silvair.com \
    /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).