Re: [PATCH] d80211: Only free WEP crypto ciphers when they have been allocated correctly.

2007-01-06 Thread Gertjan van Wingerde
Michael Wu wrote: On Saturday 06 January 2007 12:00, Gertjan van Wingerde wrote: The d80211 stack still tries to free the WEP crypto ciphers, even when allocating them previously has failed. Actually, the code might not even have tried to allocate them. The ciphers are guaranteed to

[PATCH] d80211: Only free WEP crypto ciphers when they have been allocated correctly.

2007-01-06 Thread Gertjan van Wingerde
The d80211 stack still tries to free the WEP crypto ciphers, even when allocating them previously has failed. This results in an oops. Make sure that the d80211 stack only frees the crypto ciphers when they have been allocated successfully. Signed-off-by: Gertjan van Wingerde <[EMAIL PROTEC

[PATCH] d80211: Select CRYPTO_ECB when enabler d80211.

2007-01-06 Thread Gertjan van Wingerde
The d80211 stack uses ECB mode block ciphers for the WEP implementation. Make sure that support for CRYPTO_ECB is in the kernel when the d80211 stack is enabled (just like the other crypto algorithms). Signed-off-by: Gertjan van Wingerde <[EMAIL PROTECTED]> --- diff --git a/net/d80211/Kco

[PATCH] d80211: Take lowlevel driver's channel change time into account during scanning.

2006-07-01 Thread Gertjan van Wingerde
scheduling a channel update while the previous one had not been performed yet, resulting in failed scans. Signed-off-by: Gertjan van Wingerde <[EMAIL PROTECTED]> diff --git a/net/d80211/ieee80211_sta.c b/net/d80211/ieee80211_sta.c index 37d40aa..9f8653d 100644 --- a/net/d80211/ieee80211