Procházet zdrojové kódy

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 před 8 roky
rodič
revize
66080493b0
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;
 	}