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-24 10:42:30 +01:00
2019-07-01 19:11:53 +01:00
2019-06-26 13:25:07 +02:00
2019-06-12 13:20:21 +02:00
2019-06-12 13:20:21 +02:00
2019-07-02 18:56:44 +01:00
2019-07-01 17:29:00 +01:00
2019-06-21 13:25:29 +02:00
2019-06-24 10:42:30 +01:00
2019-07-01 17:29:00 +01:00
2019-06-24 10:42:30 +01:00