]> git.baikalelectronics.ru Git - kernel.git/commit
[wireless airo] reset card in init
authorMatthieu CASTET <castet.matthieu@free.fr>
Thu, 1 Dec 2005 07:35:26 +0000 (02:35 -0500)
committerJeff Garzik <jgarzik@pobox.com>
Thu, 1 Dec 2005 07:35:26 +0000 (02:35 -0500)
commit575b5073facfac9fdaa27199801db56bfee901a3
tree930213b1fb4f810c0e0ab3cfcfd3feeb2880a1fe
parente686381c5bcb6f146bd46dd86a5f7cec6b16b520
[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>
drivers/net/wireless/airo.c