소스 검색

Merge "qca-wifi: Fix FIND_IF_OVERLAP_WITH_WEATHER_RANGE API"

Linux Build Service Account 5 년 전
부모
커밋
2e9c30351f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      umac/dfs/core/src/misc/dfs_zero_cac.c

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

@@ -1655,7 +1655,7 @@ void dfs_cancel_precac_timer(struct wlan_dfs *dfs)
  * return true, else false.
  */
 #define FIND_IF_OVERLAP_WITH_WEATHER_RANGE(first_ch, last_ch) \
-((first_ch <= WEATHER_CHAN_START) && (WEATHER_CHAN_END <= last_ch))
+((first_ch <= WEATHER_CHAN_END) && (WEATHER_CHAN_START <= last_ch))
 
 /* dfs_is_precac_on_weather_channel() - Given a channel number, find if
  * it's a weather radar channel.