Re: Linuv 2.6.15-rc1

Pekka J Enberg
2005-11-16T12:19:05Z

Hi Zilvinas,

On Wed, 16 Nov 2005, Zilvinas Valinskas wrote:
> I just have noticed there are messages logged on Nov 3rd ... Doh! Please
> see the latest logged message :
>
> http://www.gemtek.lt/~zilvinas/dumps/trace.2

The patch I sent to you won't fix the above error. Please try this patch
instead. I think the driver is in a middle of a reset when
wpa_supplicant() causes ipw_request_direct_scan() to trigger.

Pekka

Index: 2.6/drivers/net/wireless/ipw2200.c
===================================================================
--- 2.6.orig/drivers/net/wireless/ipw2200.c
+++ 2.6/drivers/net/wireless/ipw2200.c
@@ -8926,6 +8926,10 @@ static int ipw_request_direct_scan(struc
struct ipw_scan_request_ext scan;
int err = 0, scan_type;

+ if (!(priv->status & STATUS_INIT) ||
+ (priv->status & STATUS_EXIT_PENDING))
+ return 0;
+
down(&priv->sem);

if (priv->status & STATUS_RF_KILL_MASK) {