Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a argument server to bt rfcomm server.accept #83786

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lylezhu2012
Copy link
Contributor

  • Bluetooth: RFCOMM: Add a argument server to bt_rfcomm_server.accept

In current implementation, the accept cannot be identified if the same one accept callback is passed by the upper layer.

Similar with accept of bt_l2cap_server.accept, add a parameter server to the bt_rfcomm_server.accept callback.

@jhedberg
Copy link
Member

I think you need to squash these so that the tree remains bisectable (i.e. it must be possible to cleanly build in between the commits).

@lylezhu2012
Copy link
Contributor Author

I think you need to squash these so that the tree remains bisectable (i.e. it must be possible to cleanly build in between the commits).

OK.

@lylezhu2012 lylezhu2012 force-pushed the add_a_argument_server_to_bt_rfcomm_server.accept branch from bfbb20f to 38bff67 Compare January 10, 2025 11:48
@jhedberg
Copy link
Member

Please fix the commit message it now just contains a concatenation of the three previous commit messages, including three signed-off-by lines, which doesn't make sense.

In current implementation, the `accept` cannot be identified if the
same one `accept` callback is passed by the upper layer.

Similar with `accept` of `bt_l2cap_server.accept`, add a parameter
`server` to the `bt_rfcomm_server.accept` callback.

Add a argument `server` to function bt_hfp_hf_accept() to avoid
building issue for HFP_HF.

Add a argument `server` to function rfcomm_accept() to avoid building
issue for shell/rfcomm.c.

Signed-off-by: Lyle Zhu <[email protected]>
@lylezhu2012 lylezhu2012 force-pushed the add_a_argument_server_to_bt_rfcomm_server.accept branch from 38bff67 to 7891cb7 Compare January 10, 2025 12:52
@lylezhu2012
Copy link
Contributor Author

Please fix the commit message it now just contains a concatenation of the three previous commit messages, including three signed-off-by lines, which doesn't make sense.

Yes. Updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants