Closed Bug 1238991 Opened 10 years ago Closed 10 years ago

Don't connect Bluetooth OPP manager before we know the service channel

Categories

(Firefox OS Graveyard :: Bluetooth, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(firefox46 fixed)

RESOLVED FIXED
Tracking Status
firefox46 --- fixed

People

(Reporter: tzimmermann, Assigned: tzimmermann)

References

Details

Attachments

(1 file)

If the service channel is unknown, |BluetoothOppManager::OnGetServiceChannel| sends out an SDP update request, and calls |BluetoothSocket::Connect| unconditionally. The correct behavior would be to return early and call |BluetoothSocket::Connect| after the service channel became known (i.e., after the SDP update request completed).
Attachment #8706965 - Flags: review?(btian) → review+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: