The patch titled wistron: fix detection of special buttons has been added to the -mm tree. Its filename is wistron-fix-detection-of-special-buttons.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: wistron: fix detection of special buttons From: Reiner Herrmann <reiner@xxxxxxxxxxx> If either a wifi or a bluetooth button has been detected, the code would break off the loop. But there are laptops that have both types of buttons, so the loop has to continue checking. Signed-off-by: Reiner Herrmann <reiner@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/input/misc/wistron_btns.c | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff -puN drivers/input/misc/wistron_btns.c~wistron-fix-detection-of-special-buttons drivers/input/misc/wistron_btns.c --- a/drivers/input/misc/wistron_btns.c~wistron-fix-detection-of-special-buttons +++ a/drivers/input/misc/wistron_btns.c @@ -248,13 +248,10 @@ static int __init dmi_matched(struct 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; } _ Patches currently in -mm which might be from reiner@xxxxxxxxxxx are wistron-fix-detection-of-special-buttons.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html