Quellcode durchsuchen

qcacld-3.0: Set dfs bit in channel params if state is DFS

Set the dfs bit to true in csr update channel params struct
only if the channel state is DFS.

Change-Id: Ib36b1c0a0b16bc0b42462396e8871adcf7b5e16d
CRs-Fixed: 3392038
Gururaj Pandurangi vor 2 Jahren
Ursprung
Commit
bd9a5ea405
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      core/sme/src/csr/csr_api_roam.c

+ 1 - 1
core/sme/src/csr/csr_api_roam.c

@@ -1061,7 +1061,7 @@ QDF_STATUS csr_update_channel_list(struct mac_context *mac)
 				pChanList->chanParam[num_channel].nan_disabled =
 					true;
 
-			if (CHANNEL_STATE_ENABLE != channel_state)
+			if (CHANNEL_STATE_DFS == channel_state)
 				pChanList->chanParam[num_channel].dfsSet =
 					true;