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-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:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2017-09-08 08:17:37 +08:00
2019-06-12 13:18:33 +02:00
2018-07-20 08:30:48 +08:00
2019-06-12 13:20:21 +02:00
2019-06-12 13:18:33 +02:00
2018-07-02 15:41:16 +02:00
2019-06-12 13:20:21 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-07-02 10:21:06 +08:00
2019-06-12 13:18:33 +02:00
2019-05-17 15:19:39 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-05-17 15:19:39 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-05-17 15:19:39 +02:00
2019-06-12 13:18:33 +02:00
2018-07-02 15:41:16 +02:00
2017-11-20 11:08:00 +08:00
2016-06-02 10:42:28 +08:00
2018-03-02 18:44:00 +00:00
2016-06-16 18:39:03 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-05-02 18:12:58 +02:00
2016-07-12 16:20:46 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-07-02 22:49:08 +01:00
2019-07-02 22:49:08 +01:00
2019-02-21 12:28:01 -05:00
2019-05-17 17:00:12 +08:00
2019-07-02 10:21:06 +08:00
2017-11-20 11:08:00 +08:00
2019-06-12 13:20:21 +02:00
2019-06-12 13:18:33 +02:00
2017-11-20 11:08:00 +08:00
2016-07-12 16:20:46 +02:00
2019-06-24 10:42:30 +01:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00