Fix a typo.
Reported by: David Imhoff via brad@OpenBSD Tested by: hrs Reviewed by: davidch
This commit is contained in:
parent
cfd25a7a33
commit
ccb6e7cd5a
@ -680,7 +680,7 @@ bge_ape_lock_init(struct bge_softc *sc)
|
||||
bit = BGE_APE_LOCK_GRANT_DRIVER0;
|
||||
break;
|
||||
default:
|
||||
if (sc->bge_func_addr != 0)
|
||||
if (sc->bge_func_addr == 0)
|
||||
bit = BGE_APE_LOCK_GRANT_DRIVER0;
|
||||
else
|
||||
bit = (1 << sc->bge_func_addr);
|
||||
|
Loading…
Reference in New Issue
Block a user