Pārlūkot izejas kodu

qcacmn: Use ch_freq instead of chan num for TDLS update peer TLV

Use ch_freq instead of chan_num while using tdls_ch_params
structure. As chan_num no longer exists and is replaced by
ch_freq.

Change-Id: Ifd6fd49e201b97a16294bad6c6e4ae49a04c380f
CRs-Fixed: 3234931
Utkarsh Bhatnagar 3 gadi atpakaļ
vecāks
revīzija
000a8135b3
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3 3
      wmi/src/wmi_unified_sta_tlv.c

+ 3 - 3
wmi/src/wmi_unified_sta_tlv.c

@@ -872,9 +872,9 @@ send_update_tdls_peer_state_cmd_tlv(wmi_unified_t wmi_handle,
 
 		if (in_chan_info->dfs_set) {
 			WMI_SET_CHANNEL_FLAG(chan_info, WMI_CHAN_FLAG_PASSIVE);
-			wmi_debug("chan[%d] DFS[%d]",
-				 in_chan_info->chan_id,
-				 in_chan_info->dfs_set);
+			wmi_debug("chan_freq[%d] DFS[%d]",
+				  in_chan_info->ch_freq,
+				  in_chan_info->dfs_set);
 		}
 
 		if (chan_info->mhz < WMI_2_4_GHZ_MAX_FREQ)