| commit | bde9dcd3bc819eac700529d6d805bd59fd2be7f0 | [log] [tgz] |
|---|---|---|
| author | Johan Hedberg <johan.hedberg@intel.com> | Wed Nov 15 20:01:58 2017 +0200 |
| committer | Johan Hedberg <johan.hedberg@gmail.com> | Thu Nov 16 08:39:00 2017 +0200 |
| tree | cf6e837faef92bd6b3f2c14f32cfd93d3b89bd4d | |
| parent | 421e5b5d32e70602f2afb2577575bbbd7153e10a [diff] |
Bluetooth: Mesh: Fix enabling scanning after provisioning There were some needed changes missing after the update to have manual control of PB-ADV & PB-GATT provisioning bearers. E.g. the test for CONFIG_BT_MESH_LOW_POWER in net.c was no-longer indicative of scanning being on or not. Do the scan enabling selection within the LPN module if LPN is supported, or otherwise enable scanning unconditionally in bt_mesh_provision(). Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>