From 65a88396b2cd325067ad3150d9abe457a343d002 Mon Sep 17 00:00:00 2001 From: hai007 Date: Wed, 7 Apr 2021 14:01:11 -0700 Subject: [PATCH] Internal change PiperOrigin-RevId: 367292875 --- cpp/core/internal/bwu_manager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/core/internal/bwu_manager.cc b/cpp/core/internal/bwu_manager.cc index 51ef1948..364c7e2b 100644 --- a/cpp/core/internal/bwu_manager.cc +++ b/cpp/core/internal/bwu_manager.cc @@ -275,9 +275,9 @@ void BwuManager::Revert() { NEARBY_LOG(INFO, "Revert reseting medium %d", medium_); if (handler_) { handler_->Revert(); - medium_ = Medium::UNKNOWN_MEDIUM; handler_ = nullptr; } + medium_ = Medium::UNKNOWN_MEDIUM; } void BwuManager::OnBwuNegotiationFrame(ClientProxy* client,