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, 28 May 2014 21:46:51 +0000 (14:46 -0700)
commit9326c5ca0982f548cc08c0cffb14dcbd020f3d43
tree3cc6851fb1b688e31ad8242522640ba8e1314e55
parent28a821c306889b9f2c3fff49abedc9b2c743eb73
staging: r8192e_pci: fix htons error

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>
Cc: stable <stable@vger.kernel.org> # 3.14
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_tx.c