summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjacobkeeler <jacob.keeler@livioradio.com>2018-04-16 10:36:23 -0400
committerjacobkeeler <jacob.keeler@livioradio.com>2018-04-16 10:36:23 -0400
commite4aea9676350a8c0e084b9b1d88a2317b76b0dda (patch)
tree55640424c5774fce04f01876fa1a4d281002c52e
parent255c18b4352dfde12632ab812f81b68fb256de32 (diff)
downloadsdl_core-fix/retry_after_failed_ptu.tar.gz
Fix infinite PTU when invalid PT, then a valid PT is receivedfix/retry_after_failed_ptu
-rw-r--r--src/components/policy/policy_external/src/policy_manager_impl.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/policy/policy_external/src/policy_manager_impl.cc b/src/components/policy/policy_external/src/policy_manager_impl.cc
index a3736b9d23..433a7a6bca 100644
--- a/src/components/policy/policy_external/src/policy_manager_impl.cc
+++ b/src/components/policy/policy_external/src/policy_manager_impl.cc
@@ -1574,8 +1574,7 @@ void PolicyManagerImpl::OnUpdateStarted() {
uint32_t update_timeout = TimeoutExchangeMSec();
LOG4CXX_DEBUG(logger_,
"Update timeout will be set to (milisec): " << update_timeout);
- send_on_update_sent_out_ =
- !wrong_ptu_update_received_ && !update_status_manager_.IsUpdatePending();
+ send_on_update_sent_out_ = !update_status_manager_.IsUpdatePending();
if (send_on_update_sent_out_) {
update_status_manager_.OnUpdateSentOut(update_timeout);