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:
Deepak Kumar Singh <deesin@codeaurora.org>
Loading
Please register or sign in to comment