remove case sensitivity from the board name checking
[openwrt/svn-archive/archive.git] / tools / firmware-utils / src / mkcsysimg.c
index 6487400..e1c0e71 100644 (file)
@@ -728,7 +728,7 @@ find_board(char *model)
 
        ret = NULL;
        for (board = boards; board->model != NULL; board++){
-               if (strcmp(model, board->model) == 0) {
+               if (strcasecmp(model, board->model) == 0) {
                        ret = board;
                        break;
                }