]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
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)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 May 2017 16:15:46 +0000 (12:15 -0400)
commit75cf067953d5ee543b3bda90bbfcbee5e1f94ae8
treedd5707b70737754d30a31ac762f8f0da3680be72
parent9fc3e4dc67fde953fd26adb3cea8f92597810b64
net: irda: irda-usb: fix firmware name on big-endian hosts

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: stable <stable@vger.kernel.org> # 2.6.18
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>
drivers/net/irda/irda-usb.c