ixgbe: Fix overwriting of rx_mtrl in ixgbe_ptp_hwtstamp_ioctl
commitb1e50f7ac7fd44f8da05b160a90dddde90b7e8cc
authorJacob Keller <jacob.e.keller@intel.com>
Wed, 5 Dec 2012 07:53:38 +0000 (5 07:53 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 23 Jan 2013 22:33:28 +0000 (23 14:33 -0800)
tree4b3fbd3976d0f55f03cf7516391e70ed625ec2e2
parent12ff3f3b6c21fe8f4628b834919b393eb14aa7b2
ixgbe: Fix overwriting of rx_mtrl in ixgbe_ptp_hwtstamp_ioctl

This patch corrects a bug introduced by commit f3444d8b. The rxmtrl value for
the UDP port to timestamp on was moved above the switch statement, but was
overwritten to 0 if the ioctl selected one of the V1 filters.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c