Parent: bd48d4b7dd772366c86a13141cf49a9ae8ecb6df
Author: Johan Hedberg <johan.hedberg@intel.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2011-09-20 18:21:16
Tree: 479dc585776a6d3f8d9fd3670d51c4ead3c3a46d
Fix agent fall-back mechanism We can't change the agent for a request internally within agent.c since externally code may depend on a specific agent being used so that agent_cancel work properly. This patch exports the fall-back behavior from agent.c into device.c.
Diffstat
| M | src/agent.c | | | 67 | +++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| M | src/device.c | | | 56 | ++++++++++++++++++++++++++++++++++++++++ |
2 files changed, 59 insertions(+), 64 deletions(-)