a lot of earth kernel: device eth0 entered promiscuous mode
Michal Semler
cijoml
Sat Feb 15 08:03:17 PST 2003
Dne so 15. ?nor 2003 16:27 jste napsal(a):
> hello
> I've been using hostap for a few months and it work all the time. except
> the driver have to reset the card sometimes.(seen it in log)
So don't let the driver to reset your card. I removed resetting line from
code and no errors on unstability I didn't find out:
here is the patch:
diff -urN hostap/driver/modules/hostap.c
hostap-modified/driver/modules/hostap.c--- hostap/driver/modules/hostap.c
Wed Feb 12 17:53:58 2003
+++ hostap-modified/driver/modules/hostap.c Wed Feb 12 17:40:39 2003
@@ -806,16 +796,9 @@
local_info_t *local = (local_info_t *) dev->priv;
struct hfa384x_regs regs;
- printk(KERN_WARNING "%s Tx timed out! Resetting card\n", dev->name);
- hostap_netif_stop_queues(dev);
-
local->func->read_regs(dev, ®s);
- printk(KERN_DEBUG "%s: CMD=%04x EVSTAT=%04x "
- "OFFSET0=%04x OFFSET1=%04x SWSUPPORT0=%04x\n",
- dev->name, regs.cmd, regs.evstat, regs.offset0, regs.offset1,
- regs.swsupport0);
- local->func->schedule_reset(local);
+/* local->func->schedule_reset(local);*/
}
#endif /* HAVE_TX_TIMEOUT */
Michal
More information about the Hostap
mailing list