Don't set EEPROM serial when it's not used.
authorTomasz Wasilczyk <twasilczyk@google.com>
Wed, 21 Apr 2021 19:43:34 +0000 (12:43 -0700)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Sun, 2 May 2021 07:15:38 +0000 (09:15 +0200)
commit31865800dffc58f2db3ae06a7bbba61bb279b265
tree3dbff8b52def9b1345b19b11b7169825f15f5fe5
parent231d8d35405dd0423db6cb1950ae77df9f742aa6
Don't set EEPROM serial when it's not used.

This makes a difference in USB enumeration -- if serial is missing,
its string is not present in string descriptor list.
src/ftdi.c