mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Oops, commit a missing implementation change.
Whilst I'm here, add a comment about what would happen in this function if hypothetically you had a radar pattern matching detector written.
This commit is contained in:
parent
3c0f8828f4
commit
bfa5e92751
1 changed files with 9 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue