[DTV00857290][[DTV][Coverity Scanned Code Defect] 15367: Out-of-bounds write]

[Description]
Fix coverity defects under mgmt/

Fix "Use of Incorrect Operator" issues.

[Related CIDs]
CID361465

Change-Id: Ife5a490833211cbe11827d4dd7a9a6089bce8a28
Feature: misc
Signed-off-by: Awk Jiang <awk.jiang@mediatek.com>
CR-Id: DTV00857290
(cherry picked from commit 17c7dd041423d9d746d98c1c4ce131fc9f23c880)
diff --git a/mgmt/rlm.c b/mgmt/rlm.c
index 87e656e..3400990 100644
--- a/mgmt/rlm.c
+++ b/mgmt/rlm.c
@@ -2400,7 +2400,7 @@
 	if (!fgIsHasHtCap) {
 		prStaRec->ucDesiredPhyTypeSet &= ~PHY_TYPE_BIT_HT;
 		if (prBssDesc) {
-			if (prBssDesc->ucPhyTypeSet && PHY_TYPE_BIT_HT) {
+			if (prBssDesc->ucPhyTypeSet & PHY_TYPE_BIT_HT) {
 				DBGLOG(RLM, WARN, "PhyTypeSet in Beacon and AssocResp are unsync. ");
 				DBGLOG(RLM, WARN, "Follow AssocResp to disable HT.\n");
 			}
@@ -2409,7 +2409,7 @@
 	if (!fgIsHasVhtCap) {
 		prStaRec->ucDesiredPhyTypeSet &= ~PHY_TYPE_BIT_VHT;
 		if (prBssDesc) {
-			if (prBssDesc->ucPhyTypeSet && PHY_TYPE_BIT_VHT) {
+			if (prBssDesc->ucPhyTypeSet & PHY_TYPE_BIT_VHT) {
 				DBGLOG(RLM, WARN, "PhyTypeSet in Beacon and AssocResp are unsync. ");
 				DBGLOG(RLM, WARN, "Follow AssocResp to disable VHT.\n");
 			}