hci.c (d5f71a7e3a90187da1578e020d47c943fe2c4745) hci.c (d54b2c94f42f5bf6df4745e645395c0b517ec73c)
1/*
2 * Copyright (C) 2014 BlueKitchen GmbH
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

--- 4813 unchanged lines hidden (view full) ---

4822 // - parameter change required
4823 // - it's disabled
4824 // - whitelist change required but used for scanning
4825 // - resolving list modified
4826 // - own address changes
4827 bool scanning_uses_whitelist = (hci_stack->le_scan_filter_policy & 1) == 1;
4828 if ((hci_stack->le_scanning_param_update) ||
4829 !hci_stack->le_scanning_enabled ||
1/*
2 * Copyright (C) 2014 BlueKitchen GmbH
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

--- 4813 unchanged lines hidden (view full) ---

4822 // - parameter change required
4823 // - it's disabled
4824 // - whitelist change required but used for scanning
4825 // - resolving list modified
4826 // - own address changes
4827 bool scanning_uses_whitelist = (hci_stack->le_scan_filter_policy & 1) == 1;
4828 if ((hci_stack->le_scanning_param_update) ||
4829 !hci_stack->le_scanning_enabled ||
4830 scanning_uses_whitelist ||
4830 (scanning_uses_whitelist && whitelist_modification_pending) ||
4831 resolving_list_modification_pending ||
4832 random_address_change){
4833
4834 scanning_stop = true;
4835 }
4836 }
4837#endif
4838

--- 3060 unchanged lines hidden ---
4831 resolving_list_modification_pending ||
4832 random_address_change){
4833
4834 scanning_stop = true;
4835 }
4836 }
4837#endif
4838

--- 3060 unchanged lines hidden ---