zephyr/subsys
Joakim Andersson e4136178ed Bluetooth: Host: Fix duplicate whitelist entries issue
If the whitelist already exists in the controller then the controller
should not add the device tot the whitelist and should return success.
In that case the counting of entries in the whitelist in the host will
be wrong.

Remove all whitelist counting in the host, and instead rely on the error
reported by the controller for this.
The controller should return error if the whitelist is full.
The controller should return error if use of whitelist was requested but
the whitelist was empty.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2019-12-10 17:54:10 +02:00
..
bluetooth Bluetooth: Host: Fix duplicate whitelist entries issue 2019-12-10 17:54:10 +02:00
console kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
cpp cpp: Use malloc/free instead of kernel variants in new/delete 2019-11-26 12:41:54 -06:00
debug debug: asan: Added leak suppression for SDL2 & X11 2019-12-09 16:38:48 -05:00
dfu dfu/img_util: fix flash_sector_from_off 2019-12-09 16:03:21 +01:00
disk disk: sdhc: reinitialize SPI SDHC always 2019-11-27 09:44:19 -06:00
fb kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
fs include: Fix use of <fs.h> -> <fs/fs.h> 2019-12-10 08:39:37 -05:00
jwt kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
logging kconfig: Remove redundant 'default n' and 'prompt' properties 2019-12-09 16:14:50 +01:00
mgmt kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
net include: Fix use of <base64.h> -> <sys/base64.h> 2019-12-10 08:39:37 -05:00
power power: policy: remove deep sleep states from residency policy 2019-12-03 14:46:15 -06:00
random subsys/random: Add cryptographically secure and bulk fill functions 2019-11-05 19:36:42 +01:00
settings include: Fix use of <nvs/nvs.h> -> <fs/nvs.h> 2019-12-10 08:39:37 -05:00
shell shell: Fix potential overwrite when using strncpy 2019-11-21 16:39:42 +01:00
stats
storage kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
testsuite ztest: fix ztest_1cpu_user_unit_test() 2019-12-09 12:40:47 -05:00
usb usb: Rename defines to match present naming convention 2019-12-09 12:48:13 -05:00
CMakeLists.txt
Kconfig kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00