Signed-off-by: Gabor Juhos <juhosg@xxxxxxxxxxx> --- tools/initvals/initvals.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/initvals/initvals.c b/tools/initvals/initvals.c index cb0bbbf..cff2c4e 100644 --- a/tools/initvals/initvals.c +++ b/tools/initvals/initvals.c @@ -838,7 +838,7 @@ static void print_initvals_family(char *family, bool check) ar9330_1p2_hw_print_initvals(check); if (!check) printf("#endif /* INITVALS_9330_1P2_H */\n"); - } else if (strncmp(family, "ar9340", 10) == 0) { + } else if (strncmp(family, "ar9340", 6) == 0) { if (!check) { printf("#ifndef INITVALS_9340_H\n"); printf("#define INITVALS_9340_H\n"); -- 1.7.10 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html