wifi: Fix incorrect iface when handling interface init failure am: f0def8fc18 am: e74e6986e6

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/wpa_supplicant_8/+/15888531

Change-Id: I647d8b42c30b00f8f5a69f6d3f42c9641be7183f