mirror of
https://github.com/google/bumble.git
synced 2026-05-08 03:58:01 +00:00
Swap arguments to ConnectionError in RFCOMM Multiplexer
Minor fixup. Change the order of arguments to ConnectionError to set the transport and address correctly in rfcomm.py on_dm_frame().
This commit is contained in:
@@ -636,8 +636,8 @@ class Multiplexer(EventEmitter):
|
|||||||
if self.open_result:
|
if self.open_result:
|
||||||
self.open_result.set_exception(ConnectionError(
|
self.open_result.set_exception(ConnectionError(
|
||||||
ConnectionError.CONNECTION_REFUSED,
|
ConnectionError.CONNECTION_REFUSED,
|
||||||
self.l2cap_channel.connection.peer_address,
|
|
||||||
BT_BR_EDR_TRANSPORT,
|
BT_BR_EDR_TRANSPORT,
|
||||||
|
self.l2cap_channel.connection.peer_address,
|
||||||
'rfcomm'
|
'rfcomm'
|
||||||
))
|
))
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user