]> git.itanic.dy.fi Git - linux-stable/commit
staging: r8192e_pci: fix htons error
authorSean MacLennan <seanm@seanm.ca>
Wed, 28 May 2014 15:19:00 +0000 (11:19 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Jun 2014 18:54:12 +0000 (11:54 -0700)
commit055127d4ab97873286fbcac5f83196aeb6edf1bb
treed16899c7ef2c754b27a5465fcb75680f836eb510
parentba39de398ec2468960744c4507100562a5aaef72
staging: r8192e_pci: fix htons error

commit 9326c5ca0982f548cc08c0cffb14dcbd020f3d43 upstream.

A sparse error fixup removed a htons() which is required for the driver
to function. This patch puts the htons() back and fixes the sparse
warning correctly by changing the left side cast.

Signed-off-by: Sean MacLennan <seanm@seanm.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_tx.c