diff options
| author | Steve Glendinning <[email protected]> | 2012-11-30 05:55:51 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2012-11-30 12:27:20 -0500 |
| commit | 068bb1a75a94eacfaaacf3b0ecf4feb349fa8e13 (patch) | |
| tree | 552f539a507de003e6094b0e254dd0a37c48ea7f /tools/perf/scripts/python | |
| parent | 3b14692c01e0b68f0ce51138dfcea967a63cd7bb (diff) | |
smsc95xx: fix smsc_crc return type
This patch fixes a bug introduced in bbd9f9e which could prevent
some wakeups from working correctly if multiple wol options were
selected.
This helper function calculates a 16-bit crc and shifts it into
either the high or low 16 bits of a u32 so the caller can or it
directly into place. The function previously had a u16 return
type so would always have returned zero when filter was odd.
Signed-off-by: Steve Glendinning <[email protected]>
Reported-by: Bjorn Mork <[email protected]>
Cc: Joe Perches <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions