Skip to content

Commit e4aea96

Browse files
committed
Fix infinite PTU when invalid PT, then a valid PT is received
1 parent 255c18b commit e4aea96

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/policy/policy_external/src/policy_manager_impl.cc

+1-2
Original file line numberDiff line numberDiff line change
@@ -1574,8 +1574,7 @@ void PolicyManagerImpl::OnUpdateStarted() {
15741574
uint32_t update_timeout = TimeoutExchangeMSec();
15751575
LOG4CXX_DEBUG(logger_,
15761576
"Update timeout will be set to (milisec): " << update_timeout);
1577-
send_on_update_sent_out_ =
1578-
!wrong_ptu_update_received_ && !update_status_manager_.IsUpdatePending();
1577+
send_on_update_sent_out_ = !update_status_manager_.IsUpdatePending();
15791578

15801579
if (send_on_update_sent_out_) {
15811580
update_status_manager_.OnUpdateSentOut(update_timeout);

0 commit comments

Comments
 (0)