diff options
author | monthadar <monthadar@FreeBSD.org> | 2012-12-18 16:15:20 +0000 |
---|---|---|
committer | monthadar <monthadar@FreeBSD.org> | 2012-12-18 16:15:20 +0000 |
commit | 84cec43191f814fd6b8dda3470035312d342caff (patch) | |
tree | 8815518dbc9f76626b5abddec3697a74aca0d566 /sys/dev/wtap | |
parent | dd21ce809fd77c851007618df254203aea224205 (diff) | |
download | FreeBSD-src-84cec43191f814fd6b8dda3470035312d342caff.zip FreeBSD-src-84cec43191f814fd6b8dda3470035312d342caff.tar.gz |
wtap should not set the IEEE80211_F_DATAPAD flag;
Approved by: adrian (mentor)
Diffstat (limited to 'sys/dev/wtap')
-rw-r--r-- | sys/dev/wtap/if_wtap.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/wtap/if_wtap.c b/sys/dev/wtap/if_wtap.c index c86545e..6bc8e6b 100644 --- a/sys/dev/wtap/if_wtap.c +++ b/sys/dev/wtap/if_wtap.c @@ -808,11 +808,7 @@ wtap_attach(struct wtap_softc *sc, const uint8_t *macaddr) ic->ic_regdomain.location = 1; /* Indoors */ ic->ic_regdomain.isocc[0] = 'S'; ic->ic_regdomain.isocc[1] = 'E'; - /* - * Indicate we need the 802.11 header padded to a - * 32-bit boundary for 4-address and QoS frames. - */ - ic->ic_flags |= IEEE80211_F_DATAPAD; + ic->ic_nchans = 1; ic->ic_channels[0].ic_flags = IEEE80211_CHAN_B; ic->ic_channels[0].ic_freq = 2412; |