qcacld-3.0: Avoid TDLS entry with MAC same as existing non-TDLS peer

In lim_tdls_setup_add_sta() even if a pStaDs is already present and
is a non TDLS peer, the driver proceed assuming it as TDLS peer and
update its type and states.

Now when driver tries to delete this non TDLS peer, as its states
and type are modified it fails to properly clean up the peer.

Fix it by allowing only TDLS entry to be updated. Also ignore if a
entry is already present and the operation is TDLS add.

Change-Id: I65fc73d65cdf768fd5b8afd050ca7314fd55c9ff
CRs-Fixed: 2200498
1 file changed
tree: be3a4e033eff31f149bf774c76b3384f55530204
  1. components/
  2. core/
  3. uapi/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile
  8. README.txt