diff --git a/drivers/slipdev/slipdev.c b/drivers/slipdev/slipdev.c index 1b15c9e6f0..22914b8e5e 100644 --- a/drivers/slipdev/slipdev.c +++ b/drivers/slipdev/slipdev.c @@ -78,8 +78,8 @@ check_end: static void _poweron(slipdev_t *dev) { - if ((dev->state != SLIPDEV_STATE_STANDBY) || - (dev->state != SLIPDEV_STATE_SLEEP)) { + if ((dev->state != SLIPDEV_STATE_STANDBY) && + (dev->state != SLIPDEV_STATE_SLEEP)) { return; }