[Bug 263783] USB MBIM: Support for LTE/4G USB modems (MBIM)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 21 Nov 2024 15:35:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263783 --- Comment #40 from Zhenlei Huang <zlei@FreeBSD.org> --- (In reply to Pierre Pronchery from comment #39) > panic: _mtx_lock_sleep: recursed on non-recursive mutex I'm not sure if the following is proper for drivers, but you may give it a try, ``` static int umb_attach(device_t dev) { ... - mtx_init(&sc->sc_mutex, device_get_nameunit(dev), NULL, MTX_DEF); + mtx_init(&sc->sc_mutex, device_get_nameunit(dev), NULL, MTX_DEF | MTX_RECURSE); ... } ``` -- You are receiving this mail because: You are the assignee for the bug.