Re: [PATCH BlueZ 3/7] monitor: Filter duplicated advertisements

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

 



Hi Luiz,

> This reduces the verbosity and give a precise picture of how unique
> each report is.
> ---
> monitor/intel.c  |  28 +++---
> monitor/packet.c | 277 ++++++++++++++++++++++++++++++++++++-------------------
> monitor/vendor.h |   2 +-
> 3 files changed, 198 insertions(+), 109 deletions(-)
> 
> diff --git a/monitor/intel.c b/monitor/intel.c
> index 1ca9a95..9da188a 100644
> --- a/monitor/intel.c
> +++ b/monitor/intel.c
> @@ -499,11 +499,11 @@ const struct vendor_ocf *intel_vendor_ocf(uint16_t ocf)
> 	return NULL;
> }
> 
> -static void startup_evt(const void *data, uint8_t size)
> +static void startup_evt(uint8_t index, const void *data, uint8_t size)
> {
> }

NAK. I avoid this and want to keep avoiding it. There are different ways to get the actual index number if you need it. And also FYI, the index is a uint16_t.

Regards

Marcel

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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