zephyr/subsys
Luiz Augusto von Dentz 80bc21e03c Bluetooth: GATT: Fix warning when attempting to use read callback
When using bt_gatt_discover with BT_GATT_DISCOVER_CHARACTERISTIC the
read callback would be set to bt_gatt_attr_read_chrc which would attempt
to access the next attribute which in this case would not be set since
the value attribute is no fetched by the discovery, the spec actually
omit the value handle saying it should always be the first attribute to
appear after the characteristic thus we can assume it to be handle + 1.

Fixes #12159

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2019-01-03 12:12:10 +01:00
..
app_memory subsys: app_memory: Fixed the size calculation for power of 2 MPUs 2018-09-20 11:25:53 -04:00
bluetooth Bluetooth: GATT: Fix warning when attempting to use read callback 2019-01-03 12:12:10 +01:00
console console: Kconfig: Update for recent changes 2018-12-20 12:21:49 +01:00
cpp c++: kconfig: EXCEPTIONS needs to depend on NEWLIB_LIBC 2018-11-28 13:51:35 -08:00
debug doc: regular misspelling scan 2018-12-26 13:27:14 -05:00
dfu samples: subsys: usb: dfu: Fix build error for intel_s1000 2018-12-30 16:24:33 -05:00
disk crc: Move crc7 into CRC single header 2018-12-30 16:24:10 -05:00
fb kconfig: Have the 'framebuffer' menu depend on it being enabled 2018-12-30 16:24:50 -05:00
fs nvs: workaround a GCC and Coverity warning 2019-01-02 13:03:09 +01:00
logging log: Fix switch statement 2018-12-21 21:06:18 +01:00
mgmt crc: deprecate old headers and issue warning when used 2018-12-04 08:52:46 -06:00
net net: coap: return -EPERM for a resource without requested method 2019-01-02 13:04:46 +01:00
power power: rename api sys_soc -> sys_ 2018-12-28 16:16:28 -05:00
random subsys: random: xoroshiro128: Use entropy get isr during init 2018-09-05 13:04:20 -04:00
settings settings: fix key-value duplication check 2018-12-12 12:51:12 +01:00
shell shell: Changing shell_history_get signature 2018-12-28 17:47:46 -05:00
stats stats: move from misc to subsys/stats 2018-11-12 08:01:15 -05:00
storage misra-c: Add 'U' to unsigned variable assignments in subsys/ 2018-12-04 22:51:56 -05:00
usb usb: class: dfu: Add a worker thread to flash data from usb to flash 2018-12-30 16:24:33 -05:00
CMakeLists.txt stats: move from misc to subsys/stats 2018-11-12 08:01:15 -05:00
Kconfig Build: Improve C++ support 2018-10-29 09:15:04 -04:00