Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8252a35a authored by Zefir Kurtisi's avatar Zefir Kurtisi Committed by Kalle Valo
Browse files

ath9k: restart only triggering DFS detector line



To support HT40 DFS mode, a triggering detector must
reset only itself but not other detector lines.

Signed-off-by: default avatarZefir Kurtisi <zefir.kurtisi@neratec.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 6029e0c5
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -289,7 +289,7 @@ dpd_add_pulse(struct dfs_pattern_detector *dpd, struct pulse_event *event)
				"count=%d, count_false=%d\n",
				"count=%d, count_false=%d\n",
				event->freq, pd->rs->type_id,
				event->freq, pd->rs->type_id,
				ps->pri, ps->count, ps->count_falses);
				ps->pri, ps->count, ps->count_falses);
			channel_detector_reset(dpd, cd);
			pd->reset(pd, dpd->last_pulse_ts);
			return true;
			return true;
		}
		}
	}
	}