qcacld-3.0: Send auth failure only if get default wep key fails

The function lim_process_auth_frame_type2 gets the wep default
key from mlme_get_wep_key(). Auth failure should be sent only
if mlme_get_wep_key fails. But currently, for success case also
the auth failure is sent and wep shared key auth fails.

Check the return status of mlme_get_wep_key and don't send auth
failure during success case.

Change-Id: I70c2bba7cd01385cec0c5d7df4437e1e4ec7548e
CRs-Fixed: 2348208
1 file changed