[WCNCR00169839] security: Refactor BC/MC PN check rule.

[Description]
Refactor BC/MC PN check rule with Key ID matching to prevent IOT issue.

Change-Id: I2541bd1d0ea06f8665cb46325892fdd58603f354
Signed-off-by: wayne.guo <wayne.guo@mediatek.com>
CR-Id: WCNCR00169839
Feature: security
Reviewed-on: http://gerrit.mediatek.inc:8080/1259475
CheckPatch: Check Patch <srv_checkpatch@mediatek.com>
Reviewed-by: Litien Chang <litien.chang@mediatek.com>
Reviewed-by: Desmond Lin <desmond.lin@mediatek.com>
Build: srv_neptune_adm <srv_neptune_adm@mediatek.com>
diff --git a/nic/que_mgt.c b/nic/que_mgt.c
index 2eeb30a..795c20b 100644
--- a/nic/que_mgt.c
+++ b/nic/que_mgt.c
@@ -6057,14 +6057,6 @@
 
 	prDetRplyInfo = &prBssInfo->rDetRplyInfo;
 
-	/* TODO : Need check fw rekey while fw rekey event. */
-	if (ucKeyID != prDetRplyInfo->ucCurKeyId) {
-		DBGLOG(QM, TRACE,
-			"use last keyID while detect replay information.(0x%x->0x%x)\n",
-			prDetRplyInfo->ucCurKeyId, ucKeyID);
-		ucKeyID = prDetRplyInfo->ucCurKeyId;
-	}
-
 #if 0
 	if (prDetRplyInfo->arReplayPNInfo[ucKeyID].fgFirstPkt) {
 		prDetRplyInfo->arReplayPNInfo[ucKeyID].fgFirstPkt = FALSE;