From fa1bed3eb19cea6ed09e1566d7572f7699962628 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Tue, 22 Jan 2013 20:28:02 +0000 Subject: rxclass: Show full 64 bits of user-data in rxclass_print_nfc_spec_ext() Previously only the lower 32 bits would be shown. Signed-off-by: Ben Hutchings --- rxclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rxclass.c') diff --git a/rxclass.c b/rxclass.c index 1564b62..cd686a3 100644 --- a/rxclass.c +++ b/rxclass.c @@ -49,7 +49,7 @@ static void rxclass_print_nfc_spec_ext(struct ethtool_rx_flow_spec *fsp) tci = ntohs(fsp->h_ext.vlan_tci); tcim = ntohs(~fsp->m_ext.vlan_tci); data = (u64)ntohl(fsp->h_ext.data[0]) << 32; - data = (u64)ntohl(fsp->h_ext.data[1]); + data |= (u64)ntohl(fsp->h_ext.data[1]); datam = (u64)ntohl(~fsp->m_ext.data[0]) << 32; datam |= (u64)ntohl(~fsp->m_ext.data[1]); -- cgit v1.2.1