Skip to content

Commit

Permalink
pw_bluetooth_proxy: Move payload_queue_ field
Browse files Browse the repository at this point in the history
Bug: 388082771, 379337272
Change-Id: Ia034a866c9b443cfeb43230ac0f0ca6014df6c3b
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/260299
Reviewed-by: Austin Foxley <[email protected]>
Lint: Lint 🤖 <[email protected]>
Docs-Not-Needed: David Rees <[email protected]>
Commit-Queue: David Rees <[email protected]>
Reviewed-by: Ali Saeed <[email protected]>
  • Loading branch information
studgeek authored and CQ Bot Account committed Jan 15, 2025
1 parent d178cae commit d7c97e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pw_bluetooth_proxy/l2cap_channel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ void L2capChannel::MoveFields(L2capChannel& other) {
{
std::lock_guard lock(send_queue_mutex_);
std::lock_guard other_lock(other.send_queue_mutex_);
send_queue_ = std::move(other.send_queue_);
payload_queue_ = std::move(other.payload_queue_);
notify_on_dequeue_ = other.notify_on_dequeue_;
l2cap_channel_manager_.ReleaseChannel(other);
l2cap_channel_manager_.RegisterChannel(*this);
Expand Down

0 comments on commit d7c97e0

Please sign in to comment.