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:
Saket Saurabh <ssaurabh@codeaurora.org>
Loading
Please register or sign in to comment