|
@@ -81,7 +81,7 @@ void dfs_process_cac_completion(struct wlan_dfs *dfs)
|
|
* When radar is detected during a CAC we are woken up prematurely to
|
|
* When radar is detected during a CAC we are woken up prematurely to
|
|
* switch to a new channel. Check the channel to decide how to act.
|
|
* switch to a new channel. Check the channel to decide how to act.
|
|
*/
|
|
*/
|
|
- if (WLAN_IS_CHAN_RADAR(dfs->dfs_curchan)) {
|
|
|
|
|
|
+ if (WLAN_IS_CHAN_RADAR(dfs, dfs->dfs_curchan)) {
|
|
dfs_mlme_mark_dfs(dfs->dfs_pdev_obj,
|
|
dfs_mlme_mark_dfs(dfs->dfs_pdev_obj,
|
|
dfs_curchan->dfs_ch_ieee,
|
|
dfs_curchan->dfs_ch_ieee,
|
|
dfs_curchan->dfs_ch_freq,
|
|
dfs_curchan->dfs_ch_freq,
|
|
@@ -174,7 +174,7 @@ static os_timer_func(dfs_cac_timeout)
|
|
* When radar is detected during a CAC we are woken up prematurely to
|
|
* When radar is detected during a CAC we are woken up prematurely to
|
|
* switch to a new channel. Check the channel to decide how to act.
|
|
* switch to a new channel. Check the channel to decide how to act.
|
|
*/
|
|
*/
|
|
- if (WLAN_IS_CHAN_RADAR(dfs->dfs_curchan)) {
|
|
|
|
|
|
+ if (WLAN_IS_CHAN_RADAR(dfs, dfs->dfs_curchan)) {
|
|
dfs_mlme_mark_dfs(dfs->dfs_pdev_obj,
|
|
dfs_mlme_mark_dfs(dfs->dfs_pdev_obj,
|
|
dfs->dfs_curchan->dfs_ch_ieee,
|
|
dfs->dfs_curchan->dfs_ch_ieee,
|
|
dfs->dfs_curchan->dfs_ch_freq,
|
|
dfs->dfs_curchan->dfs_ch_freq,
|