zephyr/subsys
Trond Einar Snekvik 878043aff1 Bluetooth: Mesh: Change friend_cred decision point to friend selection
The network layer previously decided to use the friend credentials if
there was an established friendship. During the friendship setup phase,
the friendship is not considered established until the LPN receives the
first friend poll. Before this happens, the LPN should send a friend
poll message, encrypted with the friendship credentials. This wrongly
gets encrypted with the master credentials.

Change the decision point to whether the LPN has selected a friend,
which happens after the friend offer, and before the friend poll. This
will remain set for the duration of the friendship.

Signed-off-by: Trond Einar Snekvik <Trond.Einar.Snekvik@nordicsemi.no>
2021-05-17 13:36:24 +03:00
..
bluetooth Bluetooth: Mesh: Change friend_cred decision point to friend selection 2021-05-17 13:36:24 +03:00
canbus canbus: isotp: use new k_work API 2021-05-05 13:24:29 -05:00
console kernel: sem: add K_SEM_MAX_LIMIT 2021-03-05 08:13:53 -06:00
cpp
debug Kconfig: Increase default thread analyzer stack size 2021-05-13 12:36:57 -04:00
demand_paging
dfu dfu: mcuboot: Remove definitions available via bootutil_public.h 2021-03-25 07:08:01 -04:00
disk include: move disk_access.h to storage 2021-03-23 12:16:01 +01:00
emul include: Move emul.h to drivers/emul.h 2021-04-22 12:51:01 -04:00
fb
fs fs: logstr_dup causes error in LOG_ERROR messages 2021-05-11 07:14:24 -05:00
ipc ipc: rpmsg_service: switch to new work API 2021-04-21 11:53:19 -05:00
jwt jwt: use pre-computed JWT header 2021-04-03 06:52:40 -04:00
logging logging: Add missing va_end in log_msg2 2021-05-12 23:36:01 -05:00
lorawan lorawan: port oriented downlink callbacks 2021-04-30 13:05:10 -05:00
mgmt smp: shell: consume all pending buffers in smp_shell_process() 2021-05-06 19:13:20 +02:00
modbus modbus: fix untrusted loop bound in modbus client 2021-05-05 11:33:56 +02:00
net net: lwm2m: Only parse TLV from the first block 2021-05-13 22:07:25 -04:00
pm pm: device: check for ENOSYS 2021-05-13 07:16:02 -05:00
portability portability: move cmsis api headers 2021-04-20 08:45:05 -04:00
random random: rand32_timer: Avoid alignment faults by using memcpy 2021-04-16 15:34:59 -04:00
settings settings: Handle unhandled error 2021-02-03 08:37:11 -05:00
shell shell: log_backend: Fix fifo cleanup 2021-05-13 14:04:08 +02:00
stats
storage storage/stream: Move fill value handling to flash_sync 2021-05-08 07:10:31 +02:00
task_wdt power: move reboot functionality to os lib 2021-04-28 20:34:00 -04:00
testsuite testsuite: ztest: Add missing syscalls/log_msg2.h stub 2021-05-10 13:17:44 -05:00
timing timing: add kconfig CONFIG_TIMING_FUNCTIONS_NEED_AT_BOOT 2021-04-06 16:43:55 -04:00
tracing tracing: systemview: rework IDs and make them match APIs 2021-05-11 12:59:03 -05:00
usb usb: hid: remove get_protocol/set_protocol from USB HID class API 2021-05-07 13:14:47 +02:00
CMakeLists.txt pm: move power subsystem to pm 2021-05-05 18:35:49 -04:00
Kconfig pm: move power subsystem to pm 2021-05-05 18:35:49 -04:00