remove case sensitivity from the board name checking
[openwrt/svn-archive/archive.git] / tools / firmware-utils / src / mkcsysimg.c
index 648740049bed4bc65cf0d62572aa2ccb299630ca..e1c0e71d1642e6c8869aa1fda0aa815e727ac457 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;
                }