commit | 2340fb6d4f5812db8360caf9f57f5f4418ab64db | [log] [tgz] |
---|---|---|
author | Karl Ward <karlward@google.com> | Wed May 05 21:58:26 2021 +0000 |
committer | CQ Bot <commit-bot@chromium.org> | Wed May 05 21:58:26 2021 +0000 |
tree | ff1ccc56b402ae4d0e7791cd14e6382efb812062 | |
parent | 0c11f409da1074ed30202813bdb8bfc850fe0eab [diff] |
[brcmfmac] Sim firmware error injection fix. A bug in the simulated firmware error injection class was discovered where an attempt to change an already-injected firmware error would silently fail. This change corrects that error, adds tests, and performs some test and style cleanups: - implicit nullptr comparisons are made explicit - a large unit test was split into two focused tests BUG=65917 Test: Existing unit tests were augmented to verify that changing an already-injected firmware error works; new unit tests were added to verify that the CheckErrInj* methods work. Change-Id: Ib47c7d9a94550eff39bad460755d557b285e3186 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/525352 Reviewed-by: Karthik Krishnaswami <karthikrish@google.com> Commit-Queue: Karl Ward <karlward@google.com>
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.