Staging: rtl8192e: fix an endian bug
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 29 May 2013 08:12:18 +0000 (11:12 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 11:46:29 +0000 (20:46 +0900)
commit71c8d893aa22238184eaae95663b42cb122b9553
tree7fb9205679529d3c0a9d16339a896fac2aa31c93
parent03e71d6b91d970900747cd64bbd9bbbe0e9489f8
Staging: rtl8192e: fix an endian bug

Passing the high bits of "ratr_value" to rtl8192_config_rate() only
works on little endian systems.  We should be passing a u16 value.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c