Saving `WifiConfiguration` into a local variable to avoid null pointer.

Test: atest
Bug: b/379862340
Flag: EXEMPT bug fix
Change-Id: If2da9d74e14c062d11176ea836d01e795180a2a9
1 file changed