Explorar o código

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

Linux Build Service Account %!s(int64=5) %!d(string=hai) anos
pai
achega
aba33e0087
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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_pri_ch_ieee) &&
 			    (ieee_chan != exclude_sec_ch_ieee))
 			    (ieee_chan != exclude_sec_ch_ieee))
 				break;
 				break;
+			ieee_chan = 0;
 		}
 		}
 	}
 	}
 	PRECAC_LIST_UNLOCK(dfs);
 	PRECAC_LIST_UNLOCK(dfs);