Skip to content
Commit e9d0340a authored by Rubin Gerritsen's avatar Rubin Gerritsen Committed by Fabio Baltieri
Browse files

Bluetooth: Shell: Fix the command bt adv-data



The command did no longer set the user specified data if the user
specified more than 1 AD field.

We were using the return value of ad_init() to set the number
of AD fields. This did not take into account the number of
existing data fields. By chance this usually returned 1.

Signed-off-by: default avatarRubin Gerritsen <rubin.gerritsen@nordicsemi.no>
parent 6a7656ba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment