Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d98c1a8c authored by Bala Venkatesh's avatar Bala Venkatesh Committed by nshrivas
Browse files

qcacld-3.0: Enable TDLS in case of STA association failure

TDLS is disabled if second connection comes up.
If that second connection fails then enable
the TDLS again.

Change-Id: Id5df1df81c94bcf3a0616bbfb4b33f3e4d81dcbe
CRs-Fixed: 2445831
parent 878b4459
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -3418,6 +3418,14 @@ hdd_association_completion_handler(struct hdd_adapter *adapter,
					   timeout_reason);
		}

		/* Check to change TDLS state in FW
		 * as connection failed.
		 */
		if (roamStatus == eCSR_ROAM_ASSOCIATION_FAILURE ||
		    roamStatus == eCSR_ROAM_CANCELLED) {
			ucfg_tdls_notify_connect_failure(hdd_ctx->psoc);
		}

		/*
		 * Set connection state to eConnectionState_NotConnected only
		 * when CSR has completed operation - with a