From: Lee, Chun-Yi Date: Thu, 18 Aug 2011 10:47:33 +0000 (+0800) Subject: acer-wmi: check wireless capability flag before register rfkill X-Git-Tag: v3.2-rc1~111^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1709adab0773616da7a8190f2762e599afb0a295;p=pandora-kernel.git acer-wmi: check wireless capability flag before register rfkill There will be better to check the wireless capability flag (ACER_CAP_WIRELESS) before register wireless rfkill because maybe the machine doesn't have wifi module or the module removed by user. Tested on Acer Travelmate 8572 Tested on Acer Aspire 4739Z Tested-by: AceLan Kao Cc: Carlos Corbacho Cc: Matthew Garrett Cc: Dmitry Torokhov Cc: Corentin Chary Cc: Thomas Renninger Signed-off-by: Lee, Chun-Yi Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed