Merge "qca-wifi: Fix FIND_IF_OVERLAP_WITH_WEATHER_RANGE API"

This commit is contained in:
Linux Build Service Account
2019-08-28 22:49:27 -07:00
committed by Gerrit - the friendly Code Review server

View File

@@ -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.