technology: Register a rfkilled technology in technology_add_rfkill
authorAlok Barsode <alok.barsode@linux.intel.com>
Tue, 27 Sep 2011 08:47:17 +0000 (11:47 +0300)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 29 Sep 2011 16:20:10 +0000 (18:20 +0200)
commit6971ff9c80f7155f0d119ccbbb7cf19a93a3cc26
tree899e9baaff9f305893ceaaf87e9f9ddd7ca126ec
parent592054c266dd68160ae9c79916d3130d1f5b37d2
technology: Register a rfkilled technology in technology_add_rfkill

If a technology was rfkilled before connman ran, we need to register
it. If such tech was enabled, technology->device_list will be empty.
We save the state, rfkill unblock the type and exit. When the devices
get unblocked, they are automatically enabled since we saved the enable
state.
src/technology.c