commit | 169dd12b2abc1282eab3534be374085cbf216b6e | [log] [tgz] |
---|---|---|
author | Felipe Balbi <felipe.balbi@linux.intel.com> | Wed Feb 22 17:12:40 2017 +0200 |
committer | Marek Vasut <marex@denx.de> | Fri Apr 14 16:44:16 2017 +0200 |
tree | 7e24aa66ed0bbd2189c4281966d69a590125a451 | |
parent | 02ae1293f788dde008297a80fcf38b8bd3426383 [diff] |
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: Felipe Balbi <felipe.balbi@linux.intel.com>