From 0baec72ee58ed4ce18c00b094ea85726d264707d Mon Sep 17 00:00:00 2001 From: ssaha Date: Wed, 16 May 2018 10:16:29 +0530 Subject: TetherOffload: Address VTS failure in AdditionalStopsWithInitReturnFalse - Currently if NAT iface is not added, IPACM cache setupstream events but default gw index will be set only after adding NAT iface. If IPACM receives stopOffload in between, then it is returning input check error to framework. Add check and clear event cache in case of stopOffload. - Fixed variable shadowing issue in HAL. Test: - build and boot - pass - VtsHalTetheroffloadControlV1_0TargetTest - pass - VTS Test AdditionalStopsWithInitReturnFalse - pass Change-Id: I335b7834c9a7567bc5bc05f683ec789b39c1efac Crs-fixed: 2228293 bug: 77996655 (cherry picked from commit b8c3d7ae84541f40c7b82e6c32ea1915ad4b1766) --- msm8998/hal/src/HAL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'msm8998/hal/src/HAL.cpp') diff --git a/msm8998/hal/src/HAL.cpp b/msm8998/hal/src/HAL.cpp index 11dd26d..42fe868 100644 --- a/msm8998/hal/src/HAL.cpp +++ b/msm8998/hal/src/HAL.cpp @@ -408,7 +408,7 @@ Return HAL::setLocalPrefixes fl.addArg("prefixes", prefixesStr); if (!isInitialized()) { - BoolResult res = makeInputCheckFailure("Not initialized"); + res = makeInputCheckFailure("Not initialized"); } else if(prefixesStr.size() < 1) { res = ipaResultToBoolResult(RET::FAIL_INPUT_CHECK); } else if (!parser.add(prefixesStr)) { -- cgit v1.2.3