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

Skip to content
Commit 141f6363 authored by Mayank Rana's avatar Mayank Rana
Browse files

u_qc_ether: Decrement rndis network device count



Currently rndis0 network device count is being incremented in
rndis_qc_set_alt() when taking reference to netdev related to
rndis0 by using gether_qc_get_net() API. As this reference count
is not being decremented, rndis0 netdevice is not being released.
This fails composition change while changing from RNDIS based one
to default composition. Fix this refcount mismatch by decrementing
the same in gether_qc_get_net() API.

CRs-Fixed: 611543
Change-Id: I74fe5bbe6d81ab3e9a3703711ebd4d4afc8310b7
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent ce80330c
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