Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9f5c0969 authored by Yun-Hao Chung's avatar Yun-Hao Chung
Browse files

Floss: Retry socket bind on EINVAL

In some cases, socket bind could fail with EINVAL if the MGMT has not
fully initialized.

This change introduces a wait-and-retry mechanism to mitigate this
issue.

Bug: 316228791
Test: m -j
Test: manually add a delay in kernel to make mgmt initialize slow and
check the retry work.
Tag: #floss
Flag: EXEMPT, Floss only change

Change-Id: I6e787773c20c9a76a447efe5d2bb5c1b11cd50ca
parent d121879b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment