[PATCH BlueZ] mesh: remove uneeded BDADDR type check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux