]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sierra_net: Endianess bug fix.
authorLennart Sorensen <lsorense@csclub.uwaterloo.ca>
Fri, 7 Sep 2012 12:14:02 +0000 (12:14 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 10 Oct 2012 02:31:27 +0000 (03:31 +0100)
commit6e95789b0c1ec39ab7159ec3b2dbcad0af69532e
tree94ea8a445faa9bcdb012a7cf42c4d7867a3048da
parent1876912a61291c434ab89996200297af5cdcd4ac
sierra_net: Endianess bug fix.

[ Upstream commit 2120c52da6fe741454a60644018ad2a6abd957ac ]

I discovered I couldn't get sierra_net to work on a powerpc.  Turns out
the firmware attribute check assumes the system is little endian and
hence fails because the attributes is a 16 bit value.

Signed-off-by: Len Sorensen <lsorense@csclub.uwaterloo.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/net/usb/sierra_net.c