fix zero length ping pong

Signed-off-by: Andy Green <andy.green@linaro.org>