+14
−11
+1
−1
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The old logic didn't detect full (tx) ring cases properly, causing overruns and general badness. Clean it up a bit and abstract out the ring size checks, always making sure to leave 1 slot open. Signed-off-by:Olof Johansson <olof@lixom.net> Signed-off-by:
Jeff Garzik <jeff@garzik.org>