prima:TDLS Rectify the reason for the the TDLS tear down.

This commit ensures to add the prompt reason for the tear
down.
Specifically, sets the reason based on if the tear
down is initiated by the peer or self.
Also , this commit ensures to move the tdls state to
eTDLS_LINK_TEARING , prior to sme_DeleteTdlsPeerSta , to
ensure that the staID is unregistered properly in the TL
layer, without which there was an issue in doing the same
as the TL layer shall ensure to unregister the staID only
when the TDLS state of the peer is in the TEARING or CONNECTED
state.

Change-Id: Ia3c49790bb79720ea7614b2c2e0c50d73a2b6b26
CRs-Fixed: 720749
2 files changed
tree: f5d8bf141e6e3a7554f3e608a43e7ab1a4fe240c
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile