Commit Graph

4 Commits

Author SHA1 Message Date
Rosen Penev 880636dc73
owfs: fix compilation with GCC10
Upstream backport.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-01 15:07:56 -07:00
Josef Schlehofer ab925849d2
owfs: update to the latest version (v3.2p2)
Changes:
Makefile now downloads files from Github instead of SourceForge.
Changed URL, because they decided to leave SourceForge and use Github.
Added dependency libavahi-client, otherwise it doesn't build.
Dropped unnecessary patches, because both were upstreamed.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2018-07-16 13:06:13 +02:00
Marcin Jurkowski 101fc3047c owfs: avoid npe in BUS_reset function
Monitor adapters (zeroconf, enet, usb and w1) don't have the reset
routine, causing null pointer dereference in BUS_reset function.

This patch has been submitted upstream:
https://sourceforge.net/p/owfs/bugs/67/

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
2015-09-01 01:29:23 +02:00
Marcin Jurkowski 2d537bc98f owfs: fix the last netlink message recognition
This fixes the endless loop waiting for w1 subsystem connector status
message.

According to the 8a0427d kernel commit, the last (status) netlink msg
should have ack=seq, whereas all the others messages should have ack=seq+1.

This patch has been submitted upstream: https://sourceforge.net/p/owfs/bugs/66/.

For independent problem report, see this thread:
https://www.raspberrypi.org/forums/viewtopic.php?f=44&t=98772

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
2015-09-01 01:29:20 +02:00