summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--driver/xf86-input-elographics/src/xf86Elo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/xf86-input-elographics/src/xf86Elo.c b/driver/xf86-input-elographics/src/xf86Elo.c
index c107927df..3f2e59f86 100644
--- a/driver/xf86-input-elographics/src/xf86Elo.c
+++ b/driver/xf86-input-elographics/src/xf86Elo.c
@@ -807,7 +807,7 @@ xf86EloReadInput(LocalDevicePtr local)
/*
* Try to get a packet.
*/
- while (xf86EloGetPacket(priv->packet_buf,
+ if (xf86EloGetPacket(priv->packet_buf,
&priv->packet_buf_p,
&priv->checksum,
local->fd) == Success) {