staging: r8192e_pci: fix htons error

commit 9326c5ca09 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>
This commit is contained in:
Sean MacLennan 2014-05-28 11:19:00 -04:00 • committed by Greg Kroah-Hartman
commit 055127d4ab