aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils/src/mkmylofw.c
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2007-08-06 17:38:40 +0000
committerGabor Juhos <juhosg@openwrt.org>2007-08-06 17:38:40 +0000
commit8858dec6c0a3e7a88415d04633a4bd3fb30ac24c (patch)
tree2f3e44b5fc2aebad0388ddc1bc1aba4e1614ef32 /tools/firmware-utils/src/mkmylofw.c
parent145464493277852b6458c56e956eeee298f82abc (diff)
downloadupstream-8858dec6c0a3e7a88415d04633a4bd3fb30ac24c.tar.gz
upstream-8858dec6c0a3e7a88415d04633a4bd3fb30ac24c.tar.bz2
upstream-8858dec6c0a3e7a88415d04633a4bd3fb30ac24c.zip
remove case sensitivity from the board name checking
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8352 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/firmware-utils/src/mkmylofw.c')
-rw-r--r--tools/firmware-utils/src/mkmylofw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/firmware-utils/src/mkmylofw.c b/tools/firmware-utils/src/mkmylofw.c
index 6e3c1b30da..de0942d17a 100644
--- a/tools/firmware-utils/src/mkmylofw.c
+++ b/tools/firmware-utils/src/mkmylofw.c
@@ -325,7 +325,7 @@ find_board(char *model){
board = NULL;
for (tmp = boards; tmp->model != NULL; tmp++){
- if (strcmp(model, tmp->model) == 0) {
+ if (strcasecmp(model, tmp->model) == 0) {
board = tmp;
break;
}