USB: android: strim serial number buffer
User space writes USB serial number to a sysfs file. Strim the
buffer before copying to USB string descriptor, otherwise
serial number may contain white spaces or new line characters.
Change-Id: If0dc699f53b92d80beaa099148f085d6c63af9a6
Signed-off-by:
Pavankumar Kondeti <pkondeti@codeaurora.org>
Loading
Please register or sign in to comment