<p><b>@bergzand</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/11085#discussion_r294057689">sys/usb/usbus/cdc/acm/cdc_acm.c</a>:</p>
<pre style='color:#555'>> +            break;
+        case USB_SETUP_REQ_SET_CONTROL_LINE_STATE:
+            if (setup->value & USB_CDC_ACM_CONTROL_LINE_DTE) {
+                DEBUG("CDC ACM: DTE Enabled\n");
+                cdcacm->state = USBUS_CDCACM_LINE_STATE_DTE;
+                _cdc_acm_flush(cdcacm);
+            }
+            else {
+                cdcacm->state = USBUS_CDCACM_LINE_STATE_DISCONNECTED;
+                DEBUG("CDC ACM: DTE disabled\n");
+            }
+            DEBUG("Value:0x%x, interface:%d, nb:%d\n", setup->value,
+                                                       setup->index,
+                                                       setup->length);
+            break;
+        default:
</pre>
<p>You're right, added the <code>return -1</code></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/11085?email_source=notifications&email_token=ABE7WYDDFXG3HXUSOXNDYTLP2VBPHA5CNFSM4G262ZQ2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB3U5F3A#discussion_r294057689">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYDOG6TAEADXEHXNMDDP2VBPHANCNFSM4G262ZQQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABE7WYCDVQI3ZCQFVBX4RRDP2VBPHA5CNFSM4G262ZQ2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB3U5F3A.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/11085?email_source=notifications\u0026email_token=ABE7WYDDFXG3HXUSOXNDYTLP2VBPHA5CNFSM4G262ZQ2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB3U5F3A#discussion_r294057689",
"url": "https://github.com/RIOT-OS/RIOT/pull/11085?email_source=notifications\u0026email_token=ABE7WYDDFXG3HXUSOXNDYTLP2VBPHA5CNFSM4G262ZQ2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB3U5F3A#discussion_r294057689",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>