From e1ab183c5e3650ba72ea15270c4b36b97ec959e9 Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Mon, 27 Jun 2011 05:57:14 +0000 Subject: [PATCH] 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. --- sys/net80211/ieee80211_dfs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/net80211/ieee80211_dfs.c b/sys/net80211/ieee80211_dfs.c index e15445d6a5ff..19e552d31cfe 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 { /*