Skip to content
Commit 3fdedde9 authored by Luiz Augusto von Dentz's avatar Luiz Augusto von Dentz Committed by Carles Cufí
Browse files

Bluetooth: ATT: Assert if request is invalid



Consider invalid if the request pointer is NULL or the callback is NULL
or there is a request ongoing. This conditions would likely lead to a
crash and most likely there is some other bug involved like for example
the application queueing the same request multiple times.

Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
parent 4e8e0748
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment