diff -uNpr hostap_cvs_030220/driver/modules/hostap_hw.c hostap_cvs_030220_200_01/driver/modules/hostap_hw.c --- hostap_cvs_030220/driver/modules/hostap_hw.c Sun Feb 23 20:41:56 2003 +++ hostap_cvs_030220_200_01/driver/modules/hostap_hw.c Thu Feb 27 10:05:47 2003 @@ -1242,15 +1242,20 @@ static void prism2_hw_reset(struct net_d "ignoring reset request\n", dev_info, dev->name); return; } - + + /* the const 200 is just a guess - no other reason behind it */ local->hw_reset_tries++; - if (local->hw_reset_tries > 10) { - printk(KERN_WARNING "%s: too many reset tries, skipping\n", + if (local->hw_reset_tries < 200) { + printk(KERN_WARNING "%s: trying to reset, skipping\n", dev->name); + if (local->hw_reset_tries > 195) { + printk(KERN_WARNING "%s: going soon to reset, now skipping\n", + dev->name); + } return; } - printk(KERN_WARNING "%s: %s: resetting card\n", dev_info, dev->name); + printk(KERN_WARNING "%s: %s: really resetting card\n", dev_info, dev->name); local->hw_resetting = 1; hfa384x_disable_interrupts(dev); if (local->func->cor_sreset)