hostapd 0.6.9 and channel 14

Grossfuss intiwa
Thu Nov 5 09:08:14 PST 2009


Hi Jouni,

I see that the small typo that prevents the nl driver to handle  
channel 14 is re-emerged. Here is a small patch to correct it.

Cheers,
-Francesco

--- driver_nl80211.c.orig	2009-11-05 17:50:17.000000000 +0100
+++ driver_nl80211.c	2009-11-05 17:50:44.000000000 +0100
@@ -1432,7 +1432,7 @@

			/* crude heuristic */
			if (mode->channels[idx].freq < 4000)
-				if (mode->channels[idx].freq == 2848)
+				if (mode->channels[idx].freq == 2484)
					mode->channels[idx].chan = 14;
				else
					mode->channels[idx].chan = (mode->channels[idx].freq - 2407) / 5;





More information about the Hostap mailing list