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

Skip to content
Commit 12a30869 authored by Manu Gautam's avatar Manu Gautam
Browse files

USB: RMNET: smd_ctrl: Fix crash if platform driver register fails



If platform driver register fails on connect, driver still tries
to unregister it on disconnect. This results in crash. Fix this
by not doing pdrv unregister if register had failed.

Change-Id: I999b981941e59285186c6e49cbaafc6adb5a9eb6
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent 156aa1e4
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