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

Skip to content
Commit 81cc4011 authored by Chris Lew's avatar Chris Lew Committed by Gerrit - the friendly Code Review server
Browse files

diag: diagfwd_socket: Fix DEL_CLIENT notification



The QMI handle used to register server lookups will never receive
DEL_CLIENT notifications because itself is a client. Only servers will
receive the DEL_CLIENT notification. Remove the DEL_CLIENT handler from
the QMI handle.

The sockets that act as servers should parse control packets to see if
the client they are connected to ever disconnects. Add handling for the
bye and del_client control packets.

Since the SSR Framework is no longer used to receive side channel state
notifications, the socket that acts as the server should always remain
open. During client disconnect cleanup, close the channel in the diag
layers but keep the socket open so new data packets can reopen the diag
channel.

Change-Id: I64d1793a1335ee4b50ad264f78d91a43ccd5279a
Signed-off-by: default avatarChris Lew <clew@codeaurora.org>
parent 75958773
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