diff options
author | Li RongQing <roy.qing.li@gmail.com> | 2012-07-09 22:02:42 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-11 01:31:24 -0700 |
commit | 0d653ed89144828169282a654ffab26811210fd1 (patch) | |
tree | 1339359b1afe250fdbad840db4ab9f01202b9c7d /drivers/power/ds2781_battery.c | |
parent | 5b70ca3599071a0e26bceab9dd6d7e4c53318881 (diff) | |
download | blackbird-op-linux-0d653ed89144828169282a654ffab26811210fd1.tar.gz blackbird-op-linux-0d653ed89144828169282a654ffab26811210fd1.zip |
qlge: fix endian issue
commit 6d29b1ef introduces a bug, ntohs is __be16_to_cpu,
not cpu_to_be16.
We always use htons on IP_OFFSET and IP_MF, then compare
with network package.
Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/power/ds2781_battery.c')
0 files changed, 0 insertions, 0 deletions