Changeset 7470


Ignore:
Timestamp:
2007-06-03T04:28:45+02:00 (11 years ago)
Author:
nbd
Message:

madwifi: fix an unhandle cryptoapi change (wpa2)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/madwifi/patches/123-ccmp_checks.patch

    r7453 r7470  
    1 Only in madwifi.dev/ath: if_ath.c.orig 
    21diff -ur madwifi.old/net80211/ieee80211_crypto_ccmp.c madwifi.dev/net80211/ieee80211_crypto_ccmp.c 
    32--- madwifi.old/net80211/ieee80211_crypto_ccmp.c        2007-06-02 04:37:47.425966000 +0200 
     
    2322  
    2423        skb = skb0; 
     24diff -ur madwifi.old/net80211/ieee80211_crypto_ccmp.c madwifi.dev/net80211/ieee80211_crypto_ccmp.c 
     25--- madwifi.old/net80211/ieee80211_crypto_ccmp.c        2007-06-02 19:40:56.291006648 +0200 
     26+++ madwifi.dev/net80211/ieee80211_crypto_ccmp.c        2007-06-03 04:19:47.561334192 +0200 
     27@@ -118,6 +118,12 @@ 
     28        ctx->cc_ic = vap->iv_ic; 
     29        ctx->cc_tfm = crypto_alloc_cipher("aes", 0, 
     30                                        CRYPTO_ALG_ASYNC); 
     31+        
     32+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18) 
     33+       if (IS_ERR(ctx->cc_tfm)) 
     34+               ctx->cc_tfm = NULL; 
     35+#endif 
     36+ 
     37        if (ctx->cc_tfm == NULL) { 
     38                IEEE80211_DPRINTF(vap, IEEE80211_MSG_CRYPTO, 
     39                                "%s: unable to load kernel AES crypto support\n", 
Note: See TracChangeset for help on using the changeset viewer.