From ea224d7b0d8ec2cb8d5879b4fed3a95def2906f2 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 18 Sep 2007 05:08:47 +0000 Subject: [PATCH] hcidump: Reset to basic mode when MTU config request is sent --- tools/parser/l2cap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/parser/l2cap.c b/tools/parser/l2cap.c index 97071ea9f..a906f4224 100644 --- a/tools/parser/l2cap.c +++ b/tools/parser/l2cap.c @@ -456,6 +456,7 @@ static void conf_opt(int level, void *ptr, int len, int in, uint16_t cid) switch (h->type & 0x7f) { case L2CAP_CONF_MTU: + set_mode(in, cid, 0x00); printf("MTU"); if (h->len > 0) printf(" %d", get_val(h->val, h->len)); -- 2.11.0