From 66080493b0f4d7f1f50d6ec3cc23dd50b4e2b52e Mon Sep 17 00:00:00 2001 From: Kiran Venkatappa Date: Wed, 9 Nov 2016 13:59:16 +0530 Subject: [PATCH] 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 --- wmi/src/wmi_unified_tlv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c index 0bc5c526df70..ff93995c0dad 100644 --- a/wmi/src/wmi_unified_tlv.c +++ b/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; }