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

Commit 2884b8e7 authored by Deepak Kumar Singh's avatar Deepak Kumar Singh Committed by Gerrit - the friendly Code Review server
Browse files

net: qrtr: Use cyclic idr allocator for port assignment



Use cyclic id allocator to avoid immediate reassignment of
same port id.

Assigning incremental port id gives more clarity over ports
assignment and makes it easy to debug problem in certain scenario.

Change-Id: Ib432ff641f4c81ba33ff0176cb67f1cdf4b3b1f9
Signed-off-by: default avatarDeepak Kumar Singh <deesin@codeaurora.org>
parent b5082673
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