Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing nil check for DPC when processing wwan status update
DPC can be still nil when DPCManager receives the first status from the wwan microservice. Without nil check, processWwanStatus function may therefore hit the nil dereference panic. Another small change in this commit is to avoid redundant calls to currentDPC() - dpc is already retrieved at the beginning of the function. Signed-off-by: Milan Lenco <[email protected]> (cherry picked from commit a984bcb)
- Loading branch information