PERFORCE change 87683 for review
Sam Leffler
sam at FreeBSD.org
Sat Dec 3 05:17:18 GMT 2005
http://perforce.freebsd.org/chv.cgi?CH=87683
Change 87683 by sam at 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);
More information about the p4-projects
mailing list