mirror of
https://github.com/LineageOS/android_kernel_fxtec_sm6115.git
synced 2026-04-05 11:23:13 +00:00
To make sure WLAN MAC address has already been well configured in firmware before switching to mission mode, send QMI message to WLAN firmware to query the current MAC status, and wait for 10 seconds at most if it's not ready. A new DTS property 'use-nv-mac' is also added: if 'use-nv-mac' is defined in WLAN dts node, the MAC checking will be performed; otherwise, it won't. Change-Id: I1e751d84fb304cb95ea0f989f6939bc7ba5a3ecc Signed-off-by: Yu Wang <yyuwang@codeaurora.org>