ret = NULL;
for (board = boards; board->model != NULL; board++){
- if (strcmp(model, board->model) == 0) {
+ if (strcasecmp(model, board->model) == 0) {
ret = board;
break;
}
board = NULL;
for (tmp = boards; tmp->model != NULL; tmp++){
- if (strcmp(model, tmp->model) == 0) {
+ if (strcasecmp(model, tmp->model) == 0) {
board = tmp;
break;
}
ret = NULL;
for (board = boards; board->name != NULL; board++){
- if (strcmp(name, board->name) == 0) {
+ if (strcasecmp(name, board->name) == 0) {
ret = board;
break;
}