Skip to content
Snippets Groups Projects
Commit e69fcb62 authored by Grzegorz Sluja's avatar Grzegorz Sluja Committed by Sukru Senli
Browse files

fixup! Wait for endptmngr during chan_brcm module load


Move creating of ubus thread after getting the endpt_id and
do not call ubus_lookup_id() afterwards since it can cause deadlock.
Ubus thread uses the same ctx (ubus context *) as the chan_brcm thread
while UBUS is not thread safe and ctx needs to be used by only one
thread in the same time.

Signed-off-by: default avatarGrzegorz Sluja <grzegorz.sluja@iopsys.eu>
parent ba03ad71
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment