]> git.baikalelectronics.ru Git - kernel.git/commit
rfkill: don't impose global states on resume (just restore the previous states)
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Mon, 8 Jun 2009 12:12:23 +0000 (13:12 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 10 Jun 2009 17:28:37 +0000 (13:28 -0400)
commite125ff6f5c68efc6ab01a3a7f53e491253a9b8b3
treea888e1a29212e88d7182fa3f438c6f348362c432
parent8559f3abb1c49afcbeb00a55927ea58e2ad0aae6
rfkill: don't impose global states on resume (just restore the previous states)

Once rfkill-input is disabled, the "global" states will only be used as
default initial states.

Since the states will always be the same after resume, we shouldn't
generate events on resume.

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/rfkill.h
net/rfkill/core.c