Skip to content

Commit

Permalink
fixup! l2cap: allow defering connection requests handling
Browse files Browse the repository at this point in the history
  • Loading branch information
uael committed Oct 25, 2023
1 parent a182779 commit b733b72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bumble/l2cap.py
Original file line number Diff line number Diff line change
Expand Up @@ -1480,7 +1480,7 @@ class Basic(Any, Future[PendingConnection.Basic]):
"""L2CAP incoming basic channel connection request."""

def __post_init__(self) -> None:
super(IncomingConnection.Future, self).__init__()
super(IncomingConnection.Future, self).__init__() # type: ignore[bad-super-call]

@dataclasses.dataclass
class LeCreditBased(Any, Future[PendingConnection.LeCreditBased]):
Expand All @@ -1491,7 +1491,7 @@ class LeCreditBased(Any, Future[PendingConnection.LeCreditBased]):
initial_credits: int

def __post_init__(self) -> None:
super(IncomingConnection.Future, self).__init__()
super(IncomingConnection.Future, self).__init__() # type: ignore[bad-super-call]


# -----------------------------------------------------------------------------
Expand Down

0 comments on commit b733b72

Please sign in to comment.