Просмотр исходного кода

qcacld-3.0: Handle no common channel between PCL and the favorite channel list

Handle the scenario where no common channel between PCL & the
favorite channel list is found.

Change-Id: I560d7ef861d89f3f4a0c63afacd0ffbf6aaa976e
CRs-Fixed: 2063060
Tushnim Bhattacharyya 7 лет назад
Родитель
Сommit
1f3a123652
1 измененных файлов с 0 добавлено и 2 удалено
  1. 0 2
      core/sme/src/csr/csr_util.c

+ 0 - 2
core/sme/src/csr/csr_util.c

@@ -1284,7 +1284,6 @@ uint16_t csr_check_concurrent_channel_overlap(tpAniSirGlobal mac_ctx,
 				(uint32_t *)&intf_ch);
 			if (QDF_IS_STATUS_ERROR(status)) {
 				sme_err("no mandatory channel");
-				intf_ch = sap_ch;
 			}
 		}
 	} else if ((intf_ch == sap_ch) && (cc_switch_mode ==
@@ -1295,7 +1294,6 @@ uint16_t csr_check_concurrent_channel_overlap(tpAniSirGlobal mac_ctx,
 					mac_ctx->psoc, (uint32_t *)&intf_ch);
 			if (QDF_IS_STATUS_ERROR(status)) {
 				sme_err("no mandatory channel");
-				intf_ch = sap_ch;
 			}
 		}
 	}