Remove ALC_LOCK_ASSERT in alc_stop_queue(). This function is now
called in device attach without holding a driver lock so it resulted in panic. Reported by: markj
This commit is contained in:
parent
b081e68c53
commit
416f6852e3
@ -4394,8 +4394,6 @@ alc_stop_queue(struct alc_softc *sc)
|
||||
uint32_t reg;
|
||||
int i;
|
||||
|
||||
ALC_LOCK_ASSERT(sc);
|
||||
|
||||
/* Disable RxQ. */
|
||||
reg = CSR_READ_4(sc, ALC_RXQ_CFG);
|
||||
if ((sc->alc_flags & ALC_FLAG_AR816X_FAMILY) == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user