Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Dec 2005 05:17:16 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 87683 for review
Message-ID:  <200512030517.jB35HGGN016672@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=87683

Change 87683 by sam@sam_ebb on 2005/12/03 05:16:49

	allow bssid to be set in any mode; especially useful for ibss
	and ahdemo modes

Affected files ...

.. //depot/projects/wifi/sys/net80211/ieee80211_ioctl.c#56 edit

Differences ...

==== //depot/projects/wifi/sys/net80211/ieee80211_ioctl.c#56 (text+ko) ====

@@ -1831,9 +1831,6 @@
 		error = (ic->ic_flags & IEEE80211_F_WPA) ? ENETRESET : 0;
 		break;
 	case IEEE80211_IOC_BSSID:
-		/* NB: should only be set when in STA mode */
-		if (ic->ic_opmode != IEEE80211_M_STA)
-			return EINVAL;
 		if (ireq->i_len != sizeof(tmpbssid))
 			return EINVAL;
 		error = copyin(ireq->i_data, tmpbssid, ireq->i_len);



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