Re: [PATCH] qmi: Allow qmi_qmux_device_discover be called from callback
| Newsgroups | dev.linux.lists.ofono |
|---|---|
| Message-ID | <172235823260.23339.4016099413210300489.git-patchwork-notify@kernel.org> |
Hello: This patch was applied to ofono.git (master) by Denis Kenzior <[email protected]>: On Mon, 29 Jul 2024 22:47:12 -0500 you wrote: > When the gobi modem plugin performs discovery, it checks whether the WMS > service is present in the callback function provided to > qmi_qmux_device_discover(). If the WMS service isn't present (likely > due to a timeout from the modem firmware), device discovery is > re-attempted from within the callback. This functionality was broken > since the qmux->discover.tid was not set to 0 until after the callback > function returned. Allow such re-entrant behavior by making a copy of > device discovery func/user_data/destroy members and de-initializing the > discovery structure prior to invoking the callbacks. > > [...] Here is the summary with links: - qmi: Allow qmi_qmux_device_discover be called from callback https://git.kernel.org/pub/scm/network/ofono/ofono.git/?id=ea91f966e36d You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html