zephyr/samples/bluetooth
Johan Hedberg 8fc4c99496 Bluetooth: Remove redundant AD parsing check
A few lines earlier the code bails out in case len is 0. Checking for
buf->len < 1 is the same as checking for buf->len == 0. Since len is
guaranteed to be > 0 here the check len > buf->len implicitly checks
for buf->len == 0, i.e. the second test can be removed.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2018-01-31 07:01:10 -08:00
..
beacon samples: bluetooth and net samples need test setup 2017-12-28 20:24:29 -05:00
central samples: bluetooth and net samples need test setup 2017-12-28 20:24:29 -05:00
central_hr Bluetooth: Remove redundant AD parsing check 2018-01-31 07:01:10 -08:00
eddystone samples: bluetooth and net samples need test setup 2017-12-28 20:24:29 -05:00
gatt
handsfree samples: bluetooth and net samples need test setup 2017-12-28 20:24:29 -05:00
hci_spi samples: bluetooth and net samples need test setup 2017-12-28 20:24:29 -05:00
hci_uart samples: bluetooth and net samples need test setup 2017-12-28 20:24:29 -05:00
hci_usb samples: bluetooth and net samples need test setup 2017-12-28 20:24:29 -05:00
ipsp samples: bluetooth and net samples need test setup 2017-12-28 20:24:29 -05:00
mesh samples: bluetooth and net samples need test setup 2017-12-28 20:24:29 -05:00
mesh_demo arm: nordic: flash: Use FLASH_DEV_NAME define 2018-01-25 15:23:00 -06:00
peripheral samples: bluetooth and net samples need test setup 2017-12-28 20:24:29 -05:00
peripheral_csc samples: bluetooth and net samples need test setup 2017-12-28 20:24:29 -05:00
peripheral_dis samples: bluetooth and net samples need test setup 2017-12-28 20:24:29 -05:00
peripheral_esp samples: bluetooth and net samples need test setup 2017-12-28 20:24:29 -05:00
peripheral_hids samples: bluetooth and net samples need test setup 2017-12-28 20:24:29 -05:00
peripheral_hr samples: bluetooth and net samples need test setup 2017-12-28 20:24:29 -05:00
peripheral_sc_only samples: bluetooth and net samples need test setup 2017-12-28 20:24:29 -05:00
scan_adv samples: bluetooth and net samples need test setup 2017-12-28 20:24:29 -05:00
bluetooth.rst Bluetooth: samples: Remove references to Kbuild-style building 2017-11-09 10:57:49 -05:00