summaryrefslogtreecommitdiff
path: root/bootstrap-configure
diff options
context:
space:
mode:
authorDmitriy Paliy <dmitriy.paliy@nokia.com>2011-07-29 11:33:48 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2011-07-29 12:13:24 +0300
commit2ed2c75c11d682a9767247f4bcad40a636030d89 (patch)
tree7aa84dad801b483bf7adf9c3d04c228626a1e27c /bootstrap-configure
parentde16dfe9125f522fff22707632587e5f582d6eb1 (diff)
downloadbluez-2ed2c75c11d682a9767247f4bcad40a636030d89.tar.gz
Fix adapter->global_mode updating in btd_adapter_switch_offline()
Currently, use of RequestSession and SetProperty adapter method calls sets global_mode to on. Switching adapter off via plug-in interface in this scenario releases all sessions, that, in turn, restores adapter's state to global_mode, which is on. Result is the adapter is switched off and immediately switched on. This patch fixes such inconsistency by overwriting global_mode to mode off when request comes from plug-in.
Diffstat (limited to 'bootstrap-configure')
0 files changed, 0 insertions, 0 deletions