summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_output.c
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2005-06-06 04:04:38 +0000
committersam <sam@FreeBSD.org>2005-06-06 04:04:38 +0000
commit5bab97118df0d5f84ea23868b88458025e0ef63d (patch)
tree28249a3b67979d4d2dd47b1a007558af83869d4d /sys/net80211/ieee80211_output.c
parent64ebe3db6831d8a3e1384c0e431c98da5509ec22 (diff)
downloadFreeBSD-src-5bab97118df0d5f84ea23868b88458025e0ef63d.zip
FreeBSD-src-5bab97118df0d5f84ea23868b88458025e0ef63d.tar.gz
add force flag to enmic/demic crypto api for use in xmit fragmentation
and h/w mic verification Reviewed by: avatar
Diffstat (limited to 'sys/net80211/ieee80211_output.c')
-rw-r--r--sys/net80211/ieee80211_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_output.c b/sys/net80211/ieee80211_output.c
index 919b413..3f7bfeb 100644
--- a/sys/net80211/ieee80211_output.c
+++ b/sys/net80211/ieee80211_output.c
@@ -567,7 +567,7 @@ ieee80211_encap(struct ieee80211com *ic, struct mbuf *m,
!KEY_UNDEFINED(*key) : !KEY_UNDEFINED(ni->ni_ucastkey)))) {
wh->i_fc[1] |= IEEE80211_FC1_WEP;
/* XXX do fragmentation */
- if (!ieee80211_crypto_enmic(ic, key, m)) {
+ if (!ieee80211_crypto_enmic(ic, key, m, 0)) {
IEEE80211_DPRINTF(ic, IEEE80211_MSG_OUTPUT,
"[%s] enmic failed, discard frame\n",
ether_sprintf(eh.ether_dhost));
OpenPOWER on IntegriCloud