NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/54728: urtwn(4) locks up on WPA2 reconfiguration



The following reply was made to PR kern/54728; it has been noted by GNATS.

From: mlelstv%serpens.de@localhost (Michael van Elst)
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/54728: urtwn(4) locks up on WPA2 reconfiguration
Date: Sun, 1 Dec 2019 12:51:36 -0000 (UTC)

 gson%gson.org@localhost (Andreas Gustafsson) writes:
 
 >This time, the script will fail, and the console will log the
 >message "urtwn0: timeout waiting for firmware readiness".
 
 Does this help?
 
 Index: if_urtwn.c
 ===================================================================
 RCS file: /cvsroot/src/sys/dev/usb/if_urtwn.c,v
 retrieving revision 1.75
 diff -p -u -r1.75 if_urtwn.c
 --- if_urtwn.c  26 Nov 2019 10:34:16 -0000      1.75
 +++ if_urtwn.c  1 Dec 2019 12:51:01 -0000
 @@ -3467,6 +3465,7 @@ urtwn_load_firmware(struct urtwn_softc *
         }
  
         if (urtwn_read_1(sc, R92C_MCUFWDL) & R92C_MCUFWDL_RAM_DL_SEL) {
 +               urtwn_write_1(sc, R92C_MCUFWDL, 0);
                 if (ISSET(sc->chip, URTWN_CHIP_88E) ||
                     ISSET(sc->chip, URTWN_CHIP_92EU))
                         urtwn_r88e_fw_reset(sc);
 
 
 -- 
 -- 
                                 Michael van Elst
 Internet: mlelstv%serpens.de@localhost
                                 "A potential Snark may lurk in every tree."
 


Home | Main Index | Thread Index | Old Index