huge madwifi update (work in progress, disabled by default, compiles but breaks at...
[openwrt.git] / package / madwifi / patches-r3776 / 123-ccmp_checks.patch
1 Index: madwifi-trunk-r3776/net80211/ieee80211_crypto_ccmp.c
2 ===================================================================
3 --- madwifi-trunk-r3776.orig/net80211/ieee80211_crypto_ccmp.c 2008-07-17 00:21:29.000000000 +0200
4 +++ madwifi-trunk-r3776/net80211/ieee80211_crypto_ccmp.c 2008-07-17 00:49:59.000000000 +0200
5 @@ -478,6 +478,9 @@
6 uint8_t *mic, *pos;
7 u_int space;
8
9 + if (ctx->cc_tfm == NULL)
10 + return 0;
11 +
12 ctx->cc_vap->iv_stats.is_crypto_ccmp++;
13
14 skb = skb0;
15 @@ -592,6 +595,9 @@
16 uint8_t *pos, *mic;
17 u_int space;
18
19 + if (ctx->cc_tfm == NULL)
20 + return 0;
21 +
22 ctx->cc_vap->iv_stats.is_crypto_ccmp++;
23
24 skb = skb0;
This page took 0.052624 seconds and 5 git commands to generate.