Check whether a NetworkRequest is already tracked
This change starts all tracking NetworkRequests by
L2capNetworkSpecifier.
This also ensures that header compression cannot mismatch between two
requests for the same remote MAC and PSM. If this does happen, the
second request is rejected.
Note that the offer must keep track of all requests for a specific
network, because if any failure is encountered, the client request
must either retry or release *all* associated NetworkRequests by
marking them as unfulfillable. The latter is useful when Bluetooth
is disabled.
Test: TH
Change-Id: I963a1c8466b0f756c22f01bc4469fbb01bd5dd86
1 file changed