Re: [BlueZ PATCH v1] adv_monitor: Avoid skipping non-discoverable dev on Monitor match

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

 



Hi Manish,

On Thu, Jun 24, 2021 at 10:10 AM Manish Mandlik <mmandlik@xxxxxxxxxx> wrote:
>
> Friendly reminder to review this patch.
>
> Regards,
> Manish.
>
>
> On Thu, Jun 17, 2021 at 9:58 PM Manish Mandlik <mmandlik@xxxxxxxxxx> wrote:
>>
>> Do no skip a non-discoverable device if it matches any Advertisement
>> Monitor.
>>
>> Reviewed-by: mcchou@xxxxxxxxxx
>> Reviewed-by: alainmichaud@xxxxxxxxxx
>> Signed-off-by: Manish Mandlik <mmandlik@xxxxxxxxxx>
>> ---
>>
>>  src/adapter.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/src/adapter.c b/src/adapter.c
>> index 98fc78f1e..2175120f4 100644
>> --- a/src/adapter.c
>> +++ b/src/adapter.c
>> @@ -6656,7 +6656,7 @@ static void update_found_devices(struct btd_adapter *adapter,
>>
>>         dev = btd_adapter_find_device(adapter, bdaddr, bdaddr_type);
>>         if (!dev) {
>> -               if (!discoverable) {
>> +               if (!discoverable && !matched_monitors) {
>>                         eir_data_free(&eir_data);
>>                         return;
>>                 }
>> --
>> 2.32.0.288.g62a8d224e6-goog
>>

Applied, thanks.

-- 
Luiz Augusto von Dentz



[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