some more fixes for wds sta separation
[openwrt.git] / package / madwifi / patches-testing / 123-ccmp_checks.patch
1 --- a/net80211/ieee80211_crypto_ccmp.c
2 +++ b/net80211/ieee80211_crypto_ccmp.c
3 @@ -478,6 +478,9 @@
4 uint8_t *mic, *pos;
5 u_int space;
6
7 + if (ctx->cc_tfm == NULL)
8 + return 0;
9 +
10 ctx->cc_vap->iv_stats.is_crypto_ccmp++;
11
12 skb = skb0;
13 @@ -592,6 +595,9 @@
14 uint8_t *pos, *mic;
15 u_int space;
16
17 + if (ctx->cc_tfm == NULL)
18 + return 0;
19 +
20 ctx->cc_vap->iv_stats.is_crypto_ccmp++;
21
22 skb = skb0;
This page took 0.048235 seconds and 5 git commands to generate.