diff mbox

[RFC] mac80211: Allow AP to change channels for DFS support

Message ID 2847292.30.1294752879394.JavaMail.wlan@CHBU500181 (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Wojciech Dubowik Jan. 11, 2011, 1:34 p.m. UTC
None
diff mbox

Patch

--- a/net/mac80211/chan.c
+++ b/net/mac80211/chan.c 
@@ -34,8 +34,11 @@ 
 				return CHAN_MODE_HOPPING;
 		}
 
-		if (sdata->vif.type == NL80211_IFTYPE_AP &&
-		    !sdata->u.ap.beacon)
+
+		/* TODO: CHAN_MODE_FIXED shouldn't be set when
+		  AP is on DFS channel. For now assume always
+		  undefined */
+		if (sdata->vif.type == NL80211_IFTYPE_AP)
 			continue;
 
 		return CHAN_MODE_FIXED;