diff options
Diffstat (limited to 'website/static/security/patches/EN-25:13/wlan_tkip.patch')
-rw-r--r-- | website/static/security/patches/EN-25:13/wlan_tkip.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/website/static/security/patches/EN-25:13/wlan_tkip.patch b/website/static/security/patches/EN-25:13/wlan_tkip.patch new file mode 100644 index 0000000000..b26adf8fb6 --- /dev/null +++ b/website/static/security/patches/EN-25:13/wlan_tkip.patch @@ -0,0 +1,13 @@ + sys/net80211/ieee80211_crypto_tkip.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) +--- sys/net80211/ieee80211_crypto_tkip.c.orig ++++ sys/net80211/ieee80211_crypto_tkip.c +@@ -370,7 +370,7 @@ + /* + * Strip the ICV if hardware has not done so already. + */ +- if (rxs != NULL && (rxs->c_pktflags & IEEE80211_RX_F_ICV_STRIP) == 0) ++ if ((rxs == NULL) || (rxs->c_pktflags & IEEE80211_RX_F_ICV_STRIP) == 0) + m_adj(m, -tkip.ic_trailer); + + return 1; |