svn commit: r291368 - head/contrib/wpa/src/drivers

Adrian Chadd adrian at FreeBSD.org
Thu Nov 26 17:28:41 UTC 2015


Author: adrian
Date: Thu Nov 26 17:28:40 2015
New Revision: 291368
URL: https://svnweb.freebsd.org/changeset/base/291368

Log:
  [wpa] use IFM_IEEE80211_ADHOC for now on FreeBSD for IBSS operation.
  
  PR:		bin/203086
  Submitted by:	avos

Modified:
  head/contrib/wpa/src/drivers/driver_bsd.c

Modified: head/contrib/wpa/src/drivers/driver_bsd.c
==============================================================================
--- head/contrib/wpa/src/drivers/driver_bsd.c	Thu Nov 26 17:26:52 2015	(r291367)
+++ head/contrib/wpa/src/drivers/driver_bsd.c	Thu Nov 26 17:28:40 2015	(r291368)
@@ -1055,7 +1055,14 @@ wpa_driver_bsd_associate(void *priv, str
 		mode = 0 /* STA */;
 		break;
 	case IEEE80211_MODE_IBSS:
+		/*
+		 * Ref bin/203086 - FreeBSD's net80211 currently uses
+		 * IFM_IEEE80211_ADHOC.
+		 */
+#if 0
 		mode = IFM_IEEE80211_IBSS;
+#endif
+		mode = IFM_IEEE80211_ADHOC;
 		break;
 	case IEEE80211_MODE_AP:
 		mode = IFM_IEEE80211_HOSTAP;


More information about the svn-src-all mailing list