mirror of https://github.com/hak5/openwrt.git
parent
fe1b8fca48
commit
570cecff14
|
@ -728,7 +728,7 @@ find_board(char *model)
|
||||||
|
|
||||||
ret = NULL;
|
ret = NULL;
|
||||||
for (board = boards; board->model != NULL; board++){
|
for (board = boards; board->model != NULL; board++){
|
||||||
if (strcmp(model, board->model) == 0) {
|
if (strcasecmp(model, board->model) == 0) {
|
||||||
ret = board;
|
ret = board;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -325,7 +325,7 @@ find_board(char *model){
|
||||||
|
|
||||||
board = NULL;
|
board = NULL;
|
||||||
for (tmp = boards; tmp->model != NULL; tmp++){
|
for (tmp = boards; tmp->model != NULL; tmp++){
|
||||||
if (strcmp(model, tmp->model) == 0) {
|
if (strcasecmp(model, tmp->model) == 0) {
|
||||||
board = tmp;
|
board = tmp;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -732,7 +732,7 @@ find_board(char *name)
|
||||||
|
|
||||||
ret = NULL;
|
ret = NULL;
|
||||||
for (board = boards; board->name != NULL; board++){
|
for (board = boards; board->name != NULL; board++){
|
||||||
if (strcmp(name, board->name) == 0) {
|
if (strcasecmp(name, board->name) == 0) {
|
||||||
ret = board;
|
ret = board;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue