prima: use mgmtFrameSessionId while sending resp to sme

This change addresses below two issues.
1) While sending tx complete status of tdls mgmt frames
use lim. mgmtFrameSessionId instead of smeSessionId from
pesessionEntry. pesessionEntry may not exist in few
cases where ack cnf comes after pe delete session.
2) If mgmt tx fails before calling WDA_TxPacket then
lim sends eWNI_SME_TDLS_SEND_MGMT_RSP to sme and as part of
handling this msg, apart from removing current command from
active command queue also send tx ack cnf to hdd so that it wont
wait for tx cnf for 11s.

Change-Id: I089be87fef71ebfb0327c47a301aaf5ede59d031
CRs-Fixed: 887676
diff --git a/CORE/MAC/src/pe/lim/limSendSmeRspMessages.c b/CORE/MAC/src/pe/lim/limSendSmeRspMessages.c
index a966a4d..7bfb814 100644
--- a/CORE/MAC/src/pe/lim/limSendSmeRspMessages.c
+++ b/CORE/MAC/src/pe/lim/limSendSmeRspMessages.c
@@ -1647,7 +1647,7 @@
  */
 void
 limSendSmeMgmtTXCompletion(tpAniSirGlobal pMac,
-                           tpPESession psessionEntry,
+                           tANI_U32 smeSessionId,
                            tANI_U32 txCompleteStatus)
 {
     tSirMsgQ  mmhMsg;
@@ -1665,7 +1665,7 @@
     pSirMgmtTxCompletionInd->length = sizeof(tSirMgmtTxCompletionInd);
 
     //sessionId
-    pSirMgmtTxCompletionInd->sessionId = psessionEntry->smeSessionId;
+    pSirMgmtTxCompletionInd->sessionId = smeSessionId;
 
     pSirMgmtTxCompletionInd->txCompleteStatus = txCompleteStatus;