Skip to content
Snippets Groups Projects
Commit 6dc5040a authored by Wesley W. Terpstra's avatar Wesley W. Terpstra
Browse files

Oops. Forgot to ignore unsupported versions.

parent 5debd8a4
Branches
Tags
No related merge requests found
......@@ -175,6 +175,9 @@ void eb_device_slave(eb_socket_t socketp, eb_transport_t transportp, eb_device_t
return;
}
/* Not V1 ? */
if ((buffer[2] & 0xf0) != 0x10) goto kill;
/* Neither probe nor response, yet multiple widths? fail */
widths = buffer[3];
if (!eb_width_refined(widths)) goto kill;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment