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

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/16489#discussion_r676842642">sys/fido2/ctap/transport/hid/ctap_hid.c</a>:</p>
<pre style='color:#555'>> +        else {
+            send_error_response(cid, CTAP_HID_ERR_CHANNEL_BUSY);
+            return;
+        }
+    }
+    else {
+        /* first init packet received starts a transaction */
+        if (is_init_type_pkt(pkt)) {
+            g_is_busy = true;
+            status = buffer_pkt(pkt);
+        }
+        /* ignore rest */
+    }
+
+    if (status == CTAP_HID_BUFFER_STATUS_ERROR) {
+        send_error_response(cid, g_state.err);
</pre>
<p>Since the function exists anyways after this If statement there is no need for a return. I could insert one though if it makes the code more readable ?</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/16489#discussion_r676842642">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYFT6OOUDEOTL5WUIC3TZWSBVANCNFSM45IUCTGA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABE7WYDEF2S2MO4RI4LTHF3TZWSBVA5CNFSM45IUCTGKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOFKQGPNA.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/16489#discussion_r676842642",
"url": "https://github.com/RIOT-OS/RIOT/pull/16489#discussion_r676842642",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>