Browse Source

Merge "qca-wifi: Reset the picked agile channel if it is an excluded channel"

Linux Build Service Account 5 years ago
parent
commit
aba33e0087
1 changed files with 1 additions and 0 deletions
  1. 1 0
      umac/dfs/core/src/misc/dfs_zero_cac.c

+ 1 - 0
umac/dfs/core/src/misc/dfs_zero_cac.c

@@ -1675,6 +1675,7 @@ uint8_t dfs_get_ieeechan_for_precac(struct wlan_dfs *dfs,
 			    (ieee_chan != exclude_pri_ch_ieee) &&
 			    (ieee_chan != exclude_sec_ch_ieee))
 				break;
+			ieee_chan = 0;
 		}
 	}
 	PRECAC_LIST_UNLOCK(dfs);