net: irda: irda-usb: fix firmware name on big-endian hosts
authorJohan Hovold <johan@kernel.org>
Fri, 12 May 2017 10:11:13 +0000 (12:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 May 2017 12:30:12 +0000 (14:30 +0200)
commit14d0cafd3f95d08eb0f1f44e32fec1ed0376f474
treec3b21690dede4970298fa2201407a65c2018d468
parentec0b553bd8df4b2b968e4a71530eec49f52f5222
net: irda: irda-usb: fix firmware name on big-endian hosts

commit 75cf067953d5ee543b3bda90bbfcbee5e1f94ae8 upstream.

Add missing endianness conversion when using the USB device-descriptor
bcdDevice field to construct a firmware file name.

Fixes: 8ef80aef118e ("[IRDA]: irda-usb.c: STIR421x cleanups")
Cc: Nick Fedchik <nfedchik@atlantic-link.com.ua>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/irda/irda-usb.c