diff options
author | adrian <adrian@FreeBSD.org> | 2011-06-27 05:57:14 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2011-06-27 05:57:14 +0000 |
commit | aeac662df6e1c2cc1c8a92db283958eaa305f6a6 (patch) | |
tree | aabb1bd0f449329e5afa9d53dadfe2e8693d06d6 /sys/net80211/ieee80211_dfs.c | |
parent | 22d4b198f71062a8350ee0ae9c064159d33d9b33 (diff) | |
download | FreeBSD-src-aeac662df6e1c2cc1c8a92db283958eaa305f6a6.zip FreeBSD-src-aeac662df6e1c2cc1c8a92db283958eaa305f6a6.tar.gz |
Print out a big warning if DFS can't find a channel to use.
This way people debugging DFS won't be surprised when their
AP stops talking.
Diffstat (limited to 'sys/net80211/ieee80211_dfs.c')
-rw-r--r-- | sys/net80211/ieee80211_dfs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_dfs.c b/sys/net80211/ieee80211_dfs.c index e15445d..19e552d 100644 --- a/sys/net80211/ieee80211_dfs.c +++ b/sys/net80211/ieee80211_dfs.c @@ -320,6 +320,8 @@ ieee80211_dfs_notify_radar(struct ieee80211com *ic, struct ieee80211_channel *ch * on the NOL to expire. */ /*XXX*/ + if_printf(ic->ic_ifp, "%s: No free channels; waiting for entry " + "on NOL to expire\n", __func__); } } else { /* |