diff options
author | kevlo <kevlo@FreeBSD.org> | 2014-01-08 08:06:56 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2014-01-08 08:06:56 +0000 |
commit | 2d30c961db5c3bc19c29cd1603246e8909d1cb2a (patch) | |
tree | 97a468b7a7d2aca097f707aff8e8b253289d3b07 /sys/dev/iwi | |
parent | bb4969cec51d00624175f39abdac7110ce27fa1e (diff) | |
download | FreeBSD-src-2d30c961db5c3bc19c29cd1603246e8909d1cb2a.zip FreeBSD-src-2d30c961db5c3bc19c29cd1603246e8909d1cb2a.tar.gz |
Rename definition of IEEE80211_FC1_WEP to IEEE80211_FC1_PROTECTED.
The origin of WEP comes from IEEE Std 802.11-1997 where it defines
whether the frame body of MAC frame has been encrypted using WEP
algorithm or not.
IEEE Std. 802.11-2007 changes WEP to Protected Frame, indicates
whether the frame is protected by a cryptographic encapsulation
algorithm.
Reviewed by: adrian, rpaulo
Diffstat (limited to 'sys/dev/iwi')
-rw-r--r-- | sys/dev/iwi/if_iwi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/iwi/if_iwi.c b/sys/dev/iwi/if_iwi.c index 9373c2f..f013389 100644 --- a/sys/dev/iwi/if_iwi.c +++ b/sys/dev/iwi/if_iwi.c @@ -1846,7 +1846,7 @@ iwi_tx_start(struct ifnet *ifp, struct mbuf *m0, struct ieee80211_node *ni, } else staid = 0; - if (wh->i_fc[1] & IEEE80211_FC1_WEP) { + if (wh->i_fc[1] & IEEE80211_FC1_PROTECTED) { k = ieee80211_crypto_encap(ni, m0); if (k == NULL) { m_freem(m0); |