summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/siemens/iot2050/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/siemens/iot2050/board.c b/board/siemens/iot2050/board.c
index 15f5310c7bf..e35e55fb5de 100644
--- a/board/siemens/iot2050/board.c
+++ b/board/siemens/iot2050/board.c
@@ -160,7 +160,7 @@ static bool board_is_sr1(void)
struct iot2050_info *info = IOT2050_INFO_DATA;
return info->magic == IOT2050_INFO_MAGIC &&
- strstr((char *)info->name, "-PG2") != NULL;
+ strstr((char *)info->name, "-PG2") == NULL;
}
static bool board_is_m2(void)