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

Skip to content
Commit fa6a111f authored by Harout Hedeshian's avatar Harout Hedeshian Committed by Stephen Boyd
Browse files

rmnet_bam: Free netdevice resources if init fails



In the init routine, after the netdevice is allocated,
there are failure cases, where the netdevice was not
being unregistered and free'd. This patch handles all the
failure cases in the init routine and does the necessary
clean up.

CRs-Fixed: 490419
Change-Id: I71b2318e61dffa1e2dca0e835ec6d964679b2639
Signed-off-by: default avatarHarout Hedeshian <harouth@codeaurora.org>
parent a9e52d26
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