Skip to content
Commit d61d941e authored by Keith Packard's avatar Keith Packard Committed by Johan Hedberg
Browse files

samples/bluetooth: Fix mis-use of bt_data 'data' field



The data field is a *pointer* to the buffer, not the actual buffer itself.
Instead of smashing past the end of the struct, write through that pointer.

Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
parent a2aa462f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment