PERFORCE change 140001 for review
Sam Leffler
sam at FreeBSD.org
Sun Apr 13 22:24:20 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=140001
Change 140001 by sam at sam_ebb on 2008/04/13 22:23:41
check dotd in the right place
Affected files ...
.. //depot/projects/vap/sys/net80211/ieee80211_output.c#48 edit
Differences ...
==== //depot/projects/vap/sys/net80211/ieee80211_output.c#48 (text+ko) ====
@@ -2187,7 +2187,8 @@
*frm++ = 2;
*frm++ = 0; *frm++ = 0; /* TODO: ATIM window */
}
- if (vap->iv_flags & (IEEE80211_F_DOTD|IEEE80211_F_DOTH))
+ if ((vap->iv_flags & IEEE80211_F_DOTH) ||
+ (vap->iv_flags_ext & IEEE80211_FEXT_DOTD))
frm = ieee80211_add_countryie(frm, ic);
if (vap->iv_flags & IEEE80211_F_WPA2) {
if (vap->iv_rsn_ie != NULL)
@@ -2470,7 +2471,8 @@
bo->bo_tim_len = 1;
}
bo->bo_tim_trailer = frm;
- if (vap->iv_flags & (IEEE80211_F_DOTD|IEEE80211_F_DOTH))
+ if ((vap->iv_flags & IEEE80211_F_DOTH) ||
+ (vap->iv_flags_ext & IEEE80211_FEXT_DOTD))
frm = ieee80211_add_countryie(frm, ic);
if (vap->iv_flags & IEEE80211_F_WPA2) {
if (vap->iv_rsn_ie != NULL)
More information about the p4-projects
mailing list