Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Dec 2010 20:23:28 +0000 (UTC)
From:      Bernhard Schmidt <bschmidt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r216538 - head/usr.sbin/wpa/hostapd
Message-ID:  <201012182023.oBIKNS64028251@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bschmidt
Date: Sat Dec 18 20:23:28 2010
New Revision: 216538
URL: http://svn.freebsd.org/changeset/base/216538

Log:
  Add a comment explaining the undefs, while here remove one which is not
  required.

Modified:
  head/usr.sbin/wpa/hostapd/driver_freebsd.c

Modified: head/usr.sbin/wpa/hostapd/driver_freebsd.c
==============================================================================
--- head/usr.sbin/wpa/hostapd/driver_freebsd.c	Sat Dec 18 20:22:15 2010	(r216537)
+++ head/usr.sbin/wpa/hostapd/driver_freebsd.c	Sat Dec 18 20:23:28 2010	(r216538)
@@ -401,10 +401,13 @@ bsd_set_opt_ie(void *priv, const u8 *ie,
 			    ie, ie_len);
 }
 
+/*
+ * Avoid conflicts with hostapd definitions by undefining couple of defines
+ * from net80211 header files.
+ */
 #undef RSN_VERSION
 #undef WPA_VERSION
 #undef WPA_OUI_TYPE
-#undef WME_OUI_TYPE
 
 static int bsd_sta_deauth(void *priv, const u8 *own_addr, const u8 *addr,
     int reason_code);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012182023.oBIKNS64028251>