diff options
| author | Adrian Chadd <adrian@FreeBSD.org> | 2012-01-28 22:24:59 +0000 |
|---|---|---|
| committer | Adrian Chadd <adrian@FreeBSD.org> | 2012-01-28 22:24:59 +0000 |
| commit | bfa5e927516ea50a4bb5e44e130d193da6a4fe6e (patch) | |
| tree | 2eccdc8cdf17a9ec36fdd85267fd29c7e2bfde40 /sys/dev/ath/ath_dfs/null/dfs_null.c | |
| parent | 3c0f8828f45c485fb8f520e0eab0461f5d4b51fd (diff) | |
Notes
Diffstat (limited to 'sys/dev/ath/ath_dfs/null/dfs_null.c')
| -rw-r--r-- | sys/dev/ath/ath_dfs/null/dfs_null.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sys/dev/ath/ath_dfs/null/dfs_null.c b/sys/dev/ath/ath_dfs/null/dfs_null.c index 75574b4e4ac1..f10b0109b2a0 100644 --- a/sys/dev/ath/ath_dfs/null/dfs_null.c +++ b/sys/dev/ath/ath_dfs/null/dfs_null.c @@ -95,12 +95,19 @@ ath_dfs_detach(struct ath_softc *sc) /* * Enable radar check */ -void +int ath_dfs_radar_enable(struct ath_softc *sc, struct ieee80211_channel *chan) { /* Check if the current channel is radar-enabled */ if (! IEEE80211_IS_CHAN_DFS(chan)) - return; + return (0); + + /* + * Enabling the radar parameters and setting sc->sc_dodfs = 1 + * would occur here. + */ + + return (1); } /* |
