mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Fix a typo.
Reported by: David Imhoff via brad@OpenBSD Tested by: hrs Reviewed by: davidch
This commit is contained in:
parent
b3cc74dc3b
commit
bd9c196a87
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue