Commit: 698742c9dcc295c574a37885c4b5c5a1ca2b048c
Parent: e9c1c41ac195c885341f7a2e4968a8c62e2ce91a
Author: Johan Hedberg <johan.hedberg@intel.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2015-01-23 13:57:08
Tree: 95aad0adea4eb5075ac17845ee0b914ff0967ade

emulator: Fix L2CAP & RFCOMM state changes We should only move to do RFCOMM operations once we exist the CONFIG state. This means not doing anything if we get a "pending" response and moving to RFCOMM only once the config req/rsp messages are exchanged. This patch still isn't a "complete" fix in that it only waits for a response to our config request, but it's good enough for now and makes the RFCOMM server tests in rfcomm-tester pass again.

Diffstat

M emulator/bthost.c | 23 ++++++++++++++- - - - - - - - -

1 files changed, 14 insertions(+), 9 deletions(-)

View Full Diff | Patch