Mark Cave-Ayland
29df47a5cc
sunhme: fix return values from sunhme_receive() during receive packet processing
...
The current return values in sunhme_receive() when processing incoming packets
are inverted from what they should be. Make sure that we return 0 to indicate
the packet was discarded (and polling is to be disabled) and -1 to indicate
that the packet was discarded but polling for incoming data is to be continued.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
2019-07-02 22:49:08 +01:00
..
2019-06-24 10:42:30 +01:00
2019-06-16 16:16:52 -04:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:20:20 +02:00
2019-07-01 17:29:00 +01:00
2019-06-12 13:20:20 +02:00
2019-07-02 02:34:55 +02:00
2019-06-12 13:20:20 +02:00
2019-06-24 10:42:30 +01:00
2019-06-21 13:25:29 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:20:20 +02:00
2019-07-01 19:11:53 +01:00
2019-06-26 13:25:07 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:20:21 +02:00
2019-06-12 13:18:33 +02:00
2019-06-28 10:49:36 +02:00
2019-06-24 10:42:30 +01:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:20:21 +02:00
2019-07-02 18:56:44 +01:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:20:20 +02:00
2019-06-26 13:23:27 +02:00
2019-07-01 17:29:00 +01:00
2019-06-12 13:20:20 +02:00
2019-07-02 22:49:08 +01:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:20:20 +02:00
2019-07-01 17:28:59 +01:00
2019-06-12 13:18:33 +02:00
2019-07-02 09:43:58 +10:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-24 17:27:57 +02:00
2019-06-12 13:20:20 +02:00
2019-06-21 13:25:29 +02:00
2019-06-12 17:53:22 +01:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:18:33 +02:00
2019-07-02 22:49:08 +01:00
2019-06-12 13:20:20 +02:00
2019-07-01 17:28:59 +01:00
2019-07-01 17:28:59 +01:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:20:20 +02:00
2019-06-10 07:03:42 -07:00
2019-06-24 10:42:30 +01:00
2019-06-24 17:27:57 +02:00
2019-06-16 16:16:52 -04:00
2019-07-01 17:29:00 +01:00
2019-06-24 10:42:30 +01:00
2019-01-14 13:45:40 +00:00
2019-06-12 13:20:20 +02:00
2019-05-28 10:28:50 +01:00
2019-05-28 10:28:50 +01:00