Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore the network interface update event if wifi name not init (#19439)
The WiFi name is configured when WiFi init successfuly. Sometime, the WiFi interface is not up in some Linux platform and instead the platform use ethernet like eth0. In this condition, eth0 will have the IP update event and this update listerner will be called. On this condition, the GetWiFiIfName() will report a nullptr and cause a Segmentation fault. This patch will ignore the event and prevent the Segmentation fault. Signed-off-by: Haoran Wang <elven.wang@nxp.com>
- Loading branch information