[DTV00861323] cert: Fix TGac 5.2.46 STBC Receive Test fail.

[Description]
Fix TGac 5.2.46 STBC Receive Test fail.

After UCC9.2.x, it will check the data frames which sent by AP 
with STBC or not (1 Nss, 2Nsts). The Operating Notification IE of
Rx Nss 2 will make Ralink AP testbed sent by 2 NSS insted of STBC
Due to the Operating Notification IE is optional and the purpose 
is for DBDC case. Enable the IE only when DBDC enable.

Change-Id: I1dc503cc859d4c6d81856ed6ddc03b19c10ba2e8
Feature: cert
Signed-off-by: Evelyn Tasi <evelyn.tsai@mediatek.com>
CR-Id: DTV00861323
(cherry picked from commit 81e317f863d72576b7e452bc868ba41d94401650)
diff --git a/mgmt/rlm.c b/mgmt/rlm.c
index ea8159a..87e656e 100644
--- a/mgmt/rlm.c
+++ b/mgmt/rlm.c
@@ -987,7 +987,12 @@
 	prBssInfo = prAdapter->aprBssInfo[prMsduInfo->ucBssIndex];
 	if (!prBssInfo)
 		return;
-
+	/* [TGac 5.2.46 STBC Receive Test with UCC 9.2.x]
+	 * Operating Notification IE of Nss=2 will make Ralink testbed send data frames without STBC
+	 * Enable the Operating Notification IE only for DBDC enable case.
+	 */
+	if (!prAdapter->rWifiVar.fgDbDcModeEn)
+		return;
 	prStaRec = cnmGetStaRecByIndex(prAdapter, prMsduInfo->ucStaRecIndex);
 
 	if ((prAdapter->rWifiVar.ucAvailablePhyTypeSet & PHY_TYPE_SET_802_11AC) &&