]> git.baikalelectronics.ru Git - kernel.git/commit
rfkill: Copy "all" global state to other types
authorJoão Paulo Rechi Vita <jprvita@gmail.com>
Tue, 25 Aug 2015 12:56:43 +0000 (08:56 -0400)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 4 Sep 2015 12:26:56 +0000 (14:26 +0200)
commitc456244f98983cb407f23f8e5a13857fa56e041c
tree2fc41561ce6db7b5012675caf4593e51f1837bc1
parent0eb861e15518e7065cdf94c915fd6ff4ae208740
rfkill: Copy "all" global state to other types

When switching the state of all RFKill switches of type all we need to
replicate the RFKILL_TYPE_ALL global state to all the other types global
state, so it is used to initialize persistent RFKill switches on
register.

Signed-off-by: João Paulo Rechi Vita <jprvita@endlessm.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/rfkill/core.c