From df16649240fdcc16393b1ff99effa18e12d7eb05 Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Sun, 1 Oct 2006 21:58:51 -0400 Subject: [PATCH] --- yaml --- r: 37912 b: refs/heads/master c: cde45f19ca0d2ff1ede01528a7629388d4139309 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/input/misc/wistron_btns.c | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/[refs] b/[refs] index c44e94715222..1d09723142a4 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 90da11514562020ea7d697982f912ac949adc317 +refs/heads/master: cde45f19ca0d2ff1ede01528a7629388d4139309 diff --git a/trunk/drivers/input/misc/wistron_btns.c b/trunk/drivers/input/misc/wistron_btns.c index de0f46dd9692..a172ea1dc97b 100644 --- a/trunk/drivers/input/misc/wistron_btns.c +++ b/trunk/drivers/input/misc/wistron_btns.c @@ -248,13 +248,10 @@ static int __init dmi_matched(struct dmi_system_id *dmi) keymap = dmi->driver_data; for (key = keymap; key->type != KE_END; key++) { - if (key->type == KE_WIFI) { + if (key->type == KE_WIFI) have_wifi = 1; - break; - } else if (key->type == KE_BLUETOOTH) { + else if (key->type == KE_BLUETOOTH) have_bluetooth = 1; - break; - } } return 1; }