diff --git a/pw_bluetooth_proxy/l2cap_channel.cc b/pw_bluetooth_proxy/l2cap_channel.cc index f1f7a4727..214ae8178 100644 --- a/pw_bluetooth_proxy/l2cap_channel.cc +++ b/pw_bluetooth_proxy/l2cap_channel.cc @@ -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);