WiFi: Handle EAP error before selecting method

In current implementation, supplicant crashes when EAP fails before
selection of a EAP method.
This commit adds a check on the EAP method presence before using it

Bug: 77315799
Test: Manual test

Change-Id: I0ef220aceae92aaa60ed400033efa5f226e5dd4d
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
1 file changed