sierra_net: Endianess bug fix.
authorLennart Sorensen <lsorense@csclub.uwaterloo.ca>
Fri, 7 Sep 2012 12:14:02 +0000 (12:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Sep 2012 19:05:42 +0000 (15:05 -0400)
commit2120c52da6fe741454a60644018ad2a6abd957ac
treeae4f3b8efc72c176e597b5d1cf4a09869e90cf7e
parent6862234238e84648c305526af2edd98badcad1e0
sierra_net: Endianess bug fix.

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>
drivers/net/usb/sierra_net.c