device: Set blocked field depending on the technology status
authorSamuel Ortiz <sameo@linux.intel.com>
Fri, 8 Oct 2010 15:23:38 +0000 (17:23 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 8 Oct 2010 15:25:07 +0000 (17:25 +0200)
commitee8ba75ee4d8030602912826f46cbcadfd0a6b83
treed7b95e5a91f21619e7c13df93d7fdd924f8440fe
parentb680f0c062d77d3b045193025e774f0424ae2da1
device: Set blocked field depending on the technology status

If a device is created before any rfkill event is received, it will not
be blocked. Otherwise, it will mirror the technology blocked status.
src/device.c