SCAN-OFFLOAD: Remove the scan commands from smeScanCmdPendingList

If Scan offload is enabled then remove the pending commands in
smeScanCmdPendingList along with smeCmdPendingList while closing
a session.

Change-Id: Icc9c3148fa109f8c29ce760b858ad300e977c368
CRs-Fixed: 500914
diff --git a/CORE/SME/inc/smeInside.h b/CORE/SME/inc/smeInside.h
index 48d11d6..d93fc96 100644
--- a/CORE/SME/inc/smeInside.h
+++ b/CORE/SME/inc/smeInside.h
@@ -241,7 +241,8 @@
 void smePushCommand( tpAniSirGlobal pMac, tSmeCmd *pCmd, tANI_BOOLEAN fHighPriority );
 void smeProcessPendingQueue( tpAniSirGlobal pMac );
 void smeReleaseCommand(tpAniSirGlobal pMac, tSmeCmd *pCmd);
-void purgeSmeSessionCmdList(tpAniSirGlobal pMac, tANI_U32 sessionId);
+void purgeSmeSessionCmdList(tpAniSirGlobal pMac, tANI_U32 sessionId,
+        tDblLinkList *pList);
 tANI_BOOLEAN smeCommandPending(tpAniSirGlobal pMac);
 tANI_BOOLEAN pmcProcessCommand( tpAniSirGlobal pMac, tSmeCmd *pCommand );
 //this function is used to abort a command where the normal processing of the command