Parent: d85ae59d7cebb73e5e64d0212de1ed9dcd0cd804
Author: Dmitriy Paliy <dmitriy.paliy@nokia.com>
Committer: Johan Hedberg <johan.hedberg@nokia.com>
Date: 2011-03-04 20:32:49
Tree: 75b6be4cf7eb0e55a8c98b2bd472fe7cf3d504b8
Fix response on adapter RequestSession method Fixes response on adapter RequestSession method to be sent after mode is changed, if such is necessary. More specifically, change of power off mode to power on is in question. Currently response is sent when mode change is confirmed by agent, not by response from controller. Such may lead to failed CreateDevice method if it is called quickly enough after RequestSession when controller is in powered off state. New session is not created if there is already a session for such D-Bus message.
Diffstat
| M | src/adapter.c | | | 50 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - |
1 files changed, 40 insertions(+), 10 deletions(-)