diff options
| author | Zhenlei Huang <zlei@FreeBSD.org> | 2026-02-06 17:52:54 +0000 |
|---|---|---|
| committer | Colin Percival <cperciva@FreeBSD.org> | 2026-02-11 20:29:10 +0000 |
| commit | 7d0345d32bbdfe490ce88bb8704ef9d4e6adb189 (patch) | |
| tree | 371fde88855855a98009320fae83eeb461099ad8 /sys | |
| parent | 0671ffe268f2bff72356a2aba27c9965c9c403b4 (diff) | |
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/dev/qlnx/qlnxe/qlnx_os.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/qlnx/qlnxe/qlnx_os.c b/sys/dev/qlnx/qlnxe/qlnx_os.c index b0dac3a82582..bc0282e3c22b 100644 --- a/sys/dev/qlnx/qlnxe/qlnx_os.c +++ b/sys/dev/qlnx/qlnxe/qlnx_os.c @@ -2431,7 +2431,8 @@ qlnx_init(void *arg) QL_DPRINT2(ha, "enter\n"); QLNX_LOCK(ha); - qlnx_init_locked(ha); + if ((if_getdrvflags(ha->ifp) & IFF_DRV_RUNNING) == 0) + qlnx_init_locked(ha); QLNX_UNLOCK(ha); QL_DPRINT2(ha, "exit\n"); |
