Hi Johan, > 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 <johan.hedberg@xxxxxxxxx> > --- > v2: Fix s/SET_SSP/SET_LE/ copy-paste issue > > net/bluetooth/mgmt.c | 36 ++++++++++++++++++++++++++++++++++++ > 1 file changed, 36 insertions(+) Acked-by: Marcel Holtmann <marcel@xxxxxxxxxxxx> Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html