[Zrouter-src-freebsd] ZRouter.org: push to FreeBSD HEAD tree

zrouter-src-freebsd at zrouter.org zrouter-src-freebsd at zrouter.org
Tue Jan 3 15:01:17 UTC 2012


details:   http://zrouter.org/hg/FreeBSD/head//rev/479c07dc76e8
changeset: 258:479c07dc76e8
user:      ray at terran.dlink.ua
date:      Mon Jan 02 19:33:02 2012 +0200
description:
Make opmode as enum ieee80211_opmode.

diffstat:

 head/sys/dev/rt2860/rt2860.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 3d978299c0eb -r 479c07dc76e8 head/sys/dev/rt2860/rt2860.c
--- a/head/sys/dev/rt2860/rt2860.c	Sun Jan 01 16:33:34 2012 +0200
+++ b/head/sys/dev/rt2860/rt2860.c	Mon Jan 02 19:33:02 2012 +0200
@@ -87,7 +87,7 @@
 static int rt2860_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data);
 
 static struct ieee80211vap *rt2860_vap_create(struct ieee80211com *ic,
-	const char name[IFNAMSIZ], int unit, int opmode, int flags,
+	const char name[IFNAMSIZ], int unit, enum ieee80211_opmode, int flags,
 	const uint8_t bssid[IEEE80211_ADDR_LEN],
 	const uint8_t mac[IEEE80211_ADDR_LEN]);
 
@@ -1830,8 +1830,8 @@
  * rt2860_vap_create
  */
 static struct ieee80211vap *rt2860_vap_create(struct ieee80211com *ic,
-	const char name[IFNAMSIZ], int unit, int opmode, int flags,
-	const uint8_t bssid[IEEE80211_ADDR_LEN],
+	const char name[IFNAMSIZ], int unit, enum ieee80211_opmode opmode,
+	int flags, const uint8_t bssid[IEEE80211_ADDR_LEN],
 	const uint8_t mac[IEEE80211_ADDR_LEN])
 {
 	struct rt2860_softc *sc;


More information about the Zrouter-src-freebsd mailing list