commit | 78333dd750c7353e47163407a662ef39a3c6b24a | [log] [tgz] |
---|---|---|
author | Jaikumar Ganesh <jaikumar@google.com> | Wed Aug 26 19:42:09 2009 -0700 |
committer | Jaikumar Ganesh <jaikumar@google.com> | Thu Aug 27 11:03:00 2009 -0700 |
tree | 00a6ef10d6ec1a753e6d14656bef48dadfc2bfbd | |
parent | 1b856974617cb88202cdfe28bdcf43a939fa47be [diff] |
Set Routing to A2DP only when state is Connected. We were setting the routing to A2DP when the state was Connecting too. This was incorrect and can cause problems. One such problem was when handling an incoming connection we set the routing to A2DP before authorization. And even if authorization succeeds we get out sync with AVDTP command state.