Skip to content
Commit 842778a0 authored by Felipe Balbi's avatar Felipe Balbi Committed by Marek Vasut
Browse files

usb: gadget: g_dnl: only set iSerialNumber if we have a serial#



We don't want to claim that we support a serial number string and
later return nothing. Because of that, if g_dnl_serial is an empty
string, let's skip setting iSerialNumber to a valid number.

Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent 12d0b8f5
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