Hi Johan,
* Johan Hedberg [off-list ref] [2013-01-09 16:05:19 +0200]:
From: Johan Hedberg <redacted>
All mgmt_set_* commands that take a boolean value encoded in the form of
a byte should only accept the values 0x00 and 0x01. This patch adds the
necessary checks for this and returns "invalid params" responses if
anything else is provided as the value.
Signed-off-by: Johan Hedberg <redacted>
---
v2: Fix s/SET_SSP/SET_LE/ copy-paste issue
net/bluetooth/mgmt.c | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
All patches but 5 and 8 were applied to bluetooth-next. Thanks.
Gustavo