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
@ -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…
x
Reference in New Issue
Block a user