wlan: In softap offload always set STA TL state to authenticated

In SAP offload case if security is set in hostapd and ini driver
ends up setting the TL state to connected with auth required set.

But as in SAP offload case the authentication is completed before
host gets connect indication the TL state should always be set to
authenticated.

As peer is in connected state the HDD assume that EAPOL is in
progress and reject scan req which leads to SSR after some time.

To fix this if SAP offload is enabled always set the TL state to
authenticated.

Change-Id: I5b77fe3c355a402b2655c999df137f4b0316c4e7
CRs-Fixed: 1108845
diff --git a/CORE/HDD/src/wlan_hdd_hostapd.c b/CORE/HDD/src/wlan_hdd_hostapd.c
index e4abb85..49801cf 100644
--- a/CORE/HDD/src/wlan_hdd_hostapd.c
+++ b/CORE/HDD/src/wlan_hdd_hostapd.c
@@ -1059,8 +1059,12 @@
             {
                 bAuthRequired = FALSE;
             }
-
-            if (bAuthRequired || bWPSState == eANI_BOOLEAN_TRUE )
+            /* fAuthRequiredshould should be false for sap offload */
+            if ((bAuthRequired || bWPSState)
+#ifdef SAP_AUTH_OFFLOAD
+               && !cfg_param->enable_sap_auth_offload
+#endif
+               )
             {
                 vos_status = hdd_softap_RegisterSTA( pHostapdAdapter,
                                        TRUE,