commit | 8a8f1c0437a77cce29c1cb6089f01f22a6d9ca6e | [log] [tgz] |
---|---|---|
author | Michael Buesch <mb@bu3sch.de> | Sun Oct 28 13:07:54 2007 +0100 |
committer | David S. Miller <davem@sunset.davemloft.net> | Sat Nov 10 21:59:11 2007 -0800 |
tree | aff63cd4d043135c50cccd43ee32db57f62e79b9 | |
parent | 8d8c90e3fd1f8895f6d48bdcb34ba69a1fe73616 [diff] |
rfkill: Register LED triggers before registering switch Registering the switch triggers a LED event, so we must register LED triggers before the switch. This has a potential to fix a crash, depending on how the device driver initializes the rfkill data structure. Signed-off-by: Michael Buesch <mb@bu3sch.de> Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>