瀏覽代碼

qcacmn: Use correct flag to set DFS in vdev start request

Currently, WMI is using dfs flag offset that needs to be set from upper
layers. But these offset is defined by wmi and it is correct to set it
from WMI itself.

Change-Id: Ib9ff2122ed5b92fb21b01a87f0e99c3a54d1a83c
CRs-Fixed: 1099416
Kiran Venkatappa 8 年之前
父節點
當前提交
66080493b0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      wmi/src/wmi_unified_tlv.c

+ 1 - 1
wmi/src/wmi_unified_tlv.c

@@ -255,7 +255,7 @@ static inline void copy_channel_info(
 		WMI_SET_CHANNEL_FLAG(chan, WMI_CHAN_FLAG_QUARTER_RATE);
 
 	if (req->channel.dfs_set) {
-		WMI_SET_CHANNEL_FLAG(chan, req->flag_dfs);
+		WMI_SET_CHANNEL_FLAG(chan, WMI_CHAN_FLAG_DFS);
 		cmd->disable_hw_ack = req->disable_hw_ack;
 	}