technology: Refactor rfkill event handling according to soft/hard block
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Mon, 15 Oct 2012 12:35:16 +0000 (15:35 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Tue, 16 Oct 2012 12:03:27 +0000 (15:03 +0300)
commit13bb232eb1a2e1ca5b204e819537437a93818edf
treec933e7c43f7b151fab9f0945f6d79c11e2742a25
parent5e4d3658afc7379a1d1def2ec06afd2cb2cac99d
technology: Refactor rfkill event handling according to soft/hard block

No need to proceed with softblocked if technology is already hardblocked.
Apply offlinemode and persistant state according to softblocked state.
(saner logic and helped to cleanup code from style point of view too)
src/technology.c