XER10-2143: [Eco mode]5G and 6G BSSIDs are down after a reboot and FR. #73
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Reason for change: XER10-1174 changes broke Eco mode due to kernel nvram setting
didn't get preserved. From other BRCM wifi projects, rdkb never corrupted
kernel_nvram.setting file and assumed factory process may have intruduce invalid
kernel nvram setting. This changes is to remove /data/.kernel_nvram.setting on first
boot if there is no other known files created by RDKB.
Test Procedure:
Please be careful that you are running latest build or xer10 will end up in boot loop.
1) create corrupted /data/.kernel_nvram.setting; "rm -rf /data/.kernel_nvram.setting; echo "123" > /data/.kernel_nvram.setting; sync; reboot -f"
2) check if xer10 comes up correctly.
3) run "nvram kset Hellow=World; nvram kcommit.
4) Reboot, check "nvram kget Hellow" and it should return "World".
5) perform Factory Default, and run step 4 but make sure nothing return this time
Change-Id: I488d5f20393086f4b040bc873e0bc26de855f3a8 Risks: Low
Signed-off-by: [email protected]
(cherry picked from commit 59531e09eec6b4a40b16f9bfc9a5d5bee613c129)