Repository navigation
Conversation
|
Test 1: with no report id (report id treat as 0). FW is from http://janaxelson.com/hidpage.htm and proven to work using her original Windows C# code. Without the fix With the fix |
|
Test 2: with report id No regression found. The output is the same with or without the fix. |
|
Style suggestion: You could maybe include more of Jonas' explanation in the commit message, so that the git log can be read and understood without having to look up a github tracker. Or if there is already enough explained, just thank <full name> for the investigation and put the link less prominently below. |
|
I think the explanation is enough for the code change in this case. The others are not really relevant in this case. |
When the report id is zero, we should indeed skip the first byte of transfer_priv->hid_buffer, since it is not part of the actual report. But the report size should not change. Thanks to Jonas Malaco who has done the investigation in this issue. Reference: Jonas Malaco's comments #902 (comment)
|
@tormodvolden Please check the updated commit message to see if that is okay. |
|
Perfect. |
#902 (comment)
Jonas' comment is correct, when the report id is zero, we should indeed skip the first byte of transfer_priv->hid_buffer, since it is not part of the actual report. But the report size should not change.