wifi: update passphrase after configuring security type

Native network might need to know security type to process
data accordingly. As a result, security type should be
configured before setting other data.

Bug: 140541598
Test: atest FrameworksWifiTests
Change-Id: I0931778a308e4cb5bd5668ea4a0de9f03c535af3
1 file changed