summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_wx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/if_wx.c')
-rw-r--r--sys/pci/if_wx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_wx.c b/sys/pci/if_wx.c
index 51ff687..b1151e4 100644
--- a/sys/pci/if_wx.c
+++ b/sys/pci/if_wx.c
@@ -597,7 +597,7 @@ wx_attach(device_t dev)
}
#ifdef SMPNG
- mtx_init(&sc->wx_mtx, device_get_nameunit(dev), MTX_DEF);
+ mtx_init(&sc->wx_mtx, device_get_nameunit(dev), MTX_DEF | MTX_RECURSE);
#endif
WX_LOCK(sc);
OpenPOWER on IntegriCloud