qcacld-3:0: Do not issue tdls del sta for bss peer

Currently, TDLS connection can be attempted with
any peer if the stats are more than configured threshold.
If the connection is attempted with connected AP then
add sta will be failed and TDLS disable link is given
by upper layer to cleanup the add sta failure.
TDLS component sends del sta request to lim.
As peer type check was not present del sta request will
be sent to firmware for connected BSS. In the resp path
as there is a check for TDLS peer type, TDLS component
was not notified of the resp and serialization cmd
timeout will happen.

Fix is to check the peer type for tdls peer del sta.

Change-Id: Ibe59256d7f7ba75116e234481569863259f921be
CRs-Fixed: 2453027
1 file changed