SupplicantStaIfaceHal: Only send 1 eap auth failure
The workaround added in framework results in multiple AUTH failure
messages when the supplicant handling of auth timeout is correctly
fixed.
Also, reworked eap failure handling in various versions of the callback
to avoid code duplication.
Bug: 168328955
Test: atest com.android.server.wifi
Change-Id: I72cffc05ea59a21d476405a80b826e6d96dc2a8a
Merged-In: I72cffc05ea59a21d476405a80b826e6d96dc2a8a
(cherry picked from commit edac336f272ac86942949d4fbe97c20d916a6d20)
4 files changed