This test case is meant to verify that multiple unknown options is included in the response. Unknown options shall be in the response if they are not hints according to Bluetooth Core Spec v5.2. See chapter 4.5 L2CAP_CONFIGURATION_RSP Signed-off-by: Jimmy Wahlberg <jimmywa@xxxxxxxxxxx> --- net/bluetooth/l2cap_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index 1ab27b90ddcb..16956f323688 100644 --- a/net/bluetooth/l2cap_core.c +++ b/net/bluetooth/l2cap_core.c @@ -3627,7 +3627,7 @@ static int l2cap_parse_conf_req(struct l2cap_chan *chan, void *data, size_t data if (hint) break; result = L2CAP_CONF_UNKNOWN; - *((u8 *) ptr++) = type; + l2cap_add_conf_opt(&ptr, (u8)type, sizeof(u8), type, endptr - ptr); break; } } -- 2.25.1 Hi, While running tests I encountered this one test that I could not pass. After some troubleshooting I landed in this patch. Please let me know what you think. Best regards Jimmy