Benjamin Berg
966703057d
synaptics: Fix lost messages when sequence counter overflows
...
The device will always use sequence number 0 for certain messages. We
use this knowledge to filter the messages and assume that it is one of
these special messages rather than a response to a command.
However, we could end up sending a command with a sequence counter of 0
which would result in the response being ignored. Fix this by ensuring
we correctly wrap from 255 to 1 instead of 0.
Fixes : #358
2021-02-05 16:09:24 +01:00
..
2021-02-05 16:09:24 +01:00
2020-06-03 20:44:41 -07:00
2020-02-10 11:40:40 +01:00
2018-05-24 12:23:39 +02:00
2020-11-23 17:47:03 +01:00
2019-11-20 11:03:09 +01:00
2020-11-23 17:47:03 +01:00
2021-01-28 15:39:48 +01:00
2020-11-23 17:47:03 +01:00
2020-11-04 14:13:00 +01:00
2020-11-04 14:13:00 +01:00
2020-06-16 22:49:38 +02:00
2020-12-08 13:33:30 +01:00
2019-11-20 11:03:09 +01:00
2019-12-17 14:38:19 +01:00
2020-12-09 11:47:33 +01:00
2020-12-09 10:26:58 +01:00
2020-01-02 13:46:46 +01:00
2019-12-17 14:38:19 +01:00
2019-11-20 13:53:45 +01:00
2019-12-17 14:38:19 +01:00
2019-12-17 14:38:19 +01:00
2019-11-20 13:53:45 +01:00
2019-12-17 14:38:19 +01:00
2020-12-08 13:27:50 +01:00
2020-02-10 11:40:40 +01:00
2021-01-28 15:49:22 +01:00
2020-11-23 17:47:03 +01:00
2020-11-23 17:47:03 +01:00
2020-11-04 14:13:00 +01:00
2020-05-11 20:51:29 +02:00
2020-06-04 09:34:31 -07:00
2019-12-17 14:38:19 +01:00
2019-12-04 18:50:46 +01:00
2020-06-16 22:49:18 +02:00
2020-04-20 16:43:52 +02:00
2021-01-27 17:03:59 +00:00
2019-12-17 14:38:19 +01:00
2021-01-18 14:37:53 +01:00
2020-10-07 13:22:18 +02:00
2020-04-14 13:51:02 +02:00
2021-01-21 15:55:44 +00:00
2019-11-20 20:38:06 +01:00
2019-12-12 19:03:57 +01:00
2021-01-21 17:36:41 +01:00