[wireless airo] reset card in init

without this patch after an rmmod, modprobe the card won't work anymore
until the next reboot.

This patch seem safe to apply for all cards as the bsd driver already do
that.

I had to add a timeout because strange things happen (issuecommand will
fail) if the card is already reseted (after a reboot).

PS : it seems there are missing reset when leaving monitor mode...

Signed-off-by: Matthieu CASTET <castet.matthieu@free.fr>

authored by Matthieu CASTET and committed by Jeff Garzik 1d97f384 1096e871

+2 -2
+2 -2
drivers/net/wireless/airo.c
··· 2755 2755 SET_NETDEV_DEV(dev, dmdev); 2756 2756 2757 2757 2758 - if (test_bit(FLAG_MPI,&ai->flags)) 2759 - reset_card (dev, 1); 2758 + reset_card (dev, 1); 2759 + msleep(400); 2760 2760 2761 2761 rc = request_irq( dev->irq, airo_interrupt, SA_SHIRQ, dev->name, dev ); 2762 2762 if (rc) {