* [PATCH BlueZ] mesh: remove uneeded BDADDR type check
@ 2019-01-10 23:22 Brian Gix
2019-01-14 22:10 ` Gix, Brian
0 siblings, 1 reply; 2+ messages in thread
From: Brian Gix @ 2019-01-10 23:22 UTC (permalink / raw)
To: linux-bluetooth; +Cc: inga.stotland, brian.gix, michal.lowas-rzechonek
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;
--
2.14.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH BlueZ] mesh: remove uneeded BDADDR type check
2019-01-10 23:22 [PATCH BlueZ] mesh: remove uneeded BDADDR type check Brian Gix
@ 2019-01-14 22:10 ` Gix, Brian
0 siblings, 0 replies; 2+ messages in thread
From: Gix, Brian @ 2019-01-14 22:10 UTC (permalink / raw)
To: linux-bluetooth; +Cc: michal.lowas-rzechonek, Stotland, Inga
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;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-01-14 22:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-10 23:22 [PATCH BlueZ] mesh: remove uneeded BDADDR type check Brian Gix
2019-01-14 22:10 ` Gix, Brian
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).