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

Skip to content
Commit 943014c3 authored by Siva Kumar Akkireddi's avatar Siva Kumar Akkireddi Committed by Ajay Prathi
Browse files

msm: mhi_dev: Avoid re-alloc of netdev interface



If netdev interface_init gets called by mhi,
when the channels are not actually closed.
trying to do a reinit results in error from mhi
(like re-opening a already opened channel).
that leads to kernel crashes.
Add a check to avoid re-allocating netdev interface if it
has been already allocated.

Change-Id: I3835312a3e1fb09e979cc1dcf0b23815d77b7b57
Signed-off-by: default avatarSiva Kumar Akkireddi <sivaa@codeaurora.org>
parent 39641649
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