zephyr/subsys
Johan Hedberg 6de5b79f9c Bluetooth: Mesh: Fix discarding messages with many segments
The code for checking space in the Friend queue was faulty in the case
that we receive a message with more segments than the configured Friend
Queue size. This is not an issue for the default configuration but
still a possible one. Move the check for exceeding Friend Queue Size
to the per-LPN function, so that bt_mesh_friend_queue_has_space()
iterates all LPNs before delivering its verdict. This allows us to
return success in case no LPN matched (which is how the code was
intended to work).

Fixes #18522

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2019-08-20 21:24:09 +03:00
..
bluetooth Bluetooth: Mesh: Fix discarding messages with many segments 2019-08-20 21:24:09 +03:00
console cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00
cpp cpp: support for 64-bit constructors 2019-07-30 18:55:34 -07:00
debug subsys/debug/tracing: rearrange for standard use of extern "C" 2019-08-19 23:36:59 +02:00
dfu dfu: fix printf formatting in img_util 2019-08-16 20:40:13 +02:00
disk disk: kconfig: Remove redundant DISK_ACCESS_SDHC dependency 2019-08-07 04:27:15 -04:00
fb scripts: gen_cfb_font_header: modify to replicate cfb fonts 2019-07-31 05:43:50 -04:00
fs subsys/fs/littlefs: fix Coverity issues 2019-08-19 08:34:17 +02:00
jwt cleanup: include/: move zephyr/jwt.h to data/jwt.h 2019-06-27 22:55:49 -04:00
logging logging: avoid buffer overrun extracting arguments 2019-08-19 12:23:28 +02:00
mgmt mcumgr: select NET_BUF when MCUMGR=y 2019-07-29 11:13:41 +02:00
net net: dns: dns_pack: Revamp FQDN parsing in answers 2019-08-20 13:39:23 +02:00
power cleanup: include/: move misc/reboot.h to power/reboot.h 2019-06-27 22:55:49 -04:00
random cleanup: include/: move entropy.h to drivers/entropy.h 2019-06-27 22:55:49 -04:00
settings Settings: Fix incorrect return of -EINVAL for deleted entries 2019-08-20 13:18:38 +02:00
shell shell: fix log output when CONFIG_LOG_IMMEDIATE=y 2019-08-14 14:27:14 +02:00
stats cleanup: include/: move stats.h to stats/stats.h 2019-06-27 22:55:49 -04:00
storage subsys/storage/flash_map: detect missing flash device 2019-07-24 09:20:56 -04:00
testsuite subsys/testsuite: rearrange for standard use of extern "C" 2019-08-19 23:36:59 +02:00
usb usb: do not disable endpoints at USB_DC_SUSPEND event 2019-08-07 11:22:47 +02:00
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig userspace: remove APP_SHARED_MEM Kconfig 2019-02-23 07:43:55 -05:00