• Matthieu CASTET's avatar
    [wireless airo] reset card in init · 1d97f384
    Matthieu CASTET authored
    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: default avatarMatthieu CASTET <castet.matthieu@free.fr>
    1d97f384
airo.c 207 KB