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

Skip to content
Commit 01394650 authored by Saket Saurabh's avatar Saket Saurabh
Browse files

usb: gadget: Add NULL check in str_to_xport



Modify str_to_xport() to return UNDEFINED if xport_name is NULL.

Change-Id: I2f8be050018bdeb39440fe1704a7938a63e21231
Signed-off-by: default avatarSaket Saurabh <ssaurabh@codeaurora.org>
parent 3fd4f55f
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