浏览代码

qcacmn: Remove unused mcc to scc switch enums

Currently the driver accepts the values of 1,2
for MCC to SCC switch , which does not take effect
as they are not used in the sap switch channel,
thus the same are of no use.

Fix is to cleanup these as they are of no use, and
do not give the desired output too.

Change-Id: I70080dbafa58451ae051bbd3ec457d1f55e7e693
CRs-Fixed: 2404565
gaurank kathpalia 6 年之前
父节点
当前提交
d24b1f30fd
共有 1 个文件被更改,包括 1 次插入5 次删除
  1. 1 5
      qdf/inc/qdf_types.h

+ 1 - 5
qdf/inc/qdf_types.h

@@ -716,8 +716,6 @@ void qdf_vtrace_msg(QDF_MODULE_ID module, QDF_TRACE_LEVEL level,
 /**
  * typedef tQDF_MCC_TO_SCC_SWITCH_MODE - MCC to SCC switch mode.
  * @QDF_MCC_TO_SCC_SWITCH_DISABLE: Disable switch
- * @QDF_MCC_TO_SCC_SWITCH_ENABLE: Enable switch
- * @QDF_MCC_TO_SCC_SWITCH_FORCE: Force switch with SAP restart
  * @QDF_MCC_TO_SCC_SWITCH_FORCE_WITHOUT_DISCONNECTION: Force switch without
  * restart of SAP
  * @QDF_MCC_TO_SCC_SWITCH_WITH_FAVORITE_CHANNEL: Switch using fav channel(s)
@@ -734,9 +732,7 @@ void qdf_vtrace_msg(QDF_MODULE_ID module, QDF_TRACE_LEVEL level,
  */
 typedef enum {
 	QDF_MCC_TO_SCC_SWITCH_DISABLE = 0,
-	QDF_MCC_TO_SCC_SWITCH_ENABLE,
-	QDF_MCC_TO_SCC_SWITCH_FORCE,
-	QDF_MCC_TO_SCC_SWITCH_FORCE_WITHOUT_DISCONNECTION,
+	QDF_MCC_TO_SCC_SWITCH_FORCE_WITHOUT_DISCONNECTION = 3,
 	QDF_MCC_TO_SCC_SWITCH_WITH_FAVORITE_CHANNEL,
 	QDF_MCC_TO_SCC_SWITCH_FORCE_PREFERRED_WITHOUT_DISCONNECTION,
 	QDF_MCC_TO_SCC_WITH_PREFERRED_BAND,