]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
usbnet: pegasus: endian bug in write_mii_word()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 2 May 2013 20:44:20 +0000 (20:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 May 2013 20:10:23 +0000 (16:10 -0400)
commit3d64fc705318e09d2c8544cec7169e45837a33dc
tree0e79599c83b26c4fb2e5d3f6b5a2a779f21ec2b2
parent0d05535d413322341f89c77f32936b4df296ac5a
usbnet: pegasus: endian bug in write_mii_word()

We're only passing the two high bytes of an integer.  It works for
little endian but not for big endian.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/pegasus.c