technology: Create a list for technology orphaned rfkill switches
authorAlok Barsode <alok.barsode@linux.intel.com>
Mon, 30 Jan 2012 10:23:58 +0000 (12:23 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 31 Jan 2012 23:19:17 +0000 (00:19 +0100)
commitaeeb2e24ab65a9b0b174231ca602b517564bdef0
tree48816bdd0e064ca3f273914c1a779ec859d405fd
parent9ba0fd876d58ce22aab3c15ca063713ba1fb865f
technology: Create a list for technology orphaned rfkill switches

If we get a rfkill switch before the technology driver was registered we
would lose track of it as we currently ignoed it. Adding a global rfkill
hash table which can keep a track of technologyless switches untill the
driver for them is loaded. If the driver is not compiled in the switches
will remain in the hash but will not be handled by connman.
src/technology.c