diff options
author | Jacob Keeler <jacob.keeler@livioradio.com> | 2018-04-16 11:07:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-16 11:07:36 -0400 |
commit | 11ffe206ea3c114da3f45a5cbb9b23834d2996c8 (patch) | |
tree | 55640424c5774fce04f01876fa1a4d281002c52e | |
parent | 255c18b4352dfde12632ab812f81b68fb256de32 (diff) | |
parent | e4aea9676350a8c0e084b9b1d88a2317b76b0dda (diff) | |
download | sdl_core-11ffe206ea3c114da3f45a5cbb9b23834d2996c8.tar.gz |
Merge pull request #2141 from smartdevicelink/fix/retry_after_failed_pturelease/4.5.1
Fix infinite PTU when invalid PT, then a valid PT is received
-rw-r--r-- | src/components/policy/policy_external/src/policy_manager_impl.cc | 3 |
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); |