net: netcp: fix check of requested timestamping filter
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 15 May 2017 14:04:36 +0000 (16:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 May 2017 19:21:03 +0000 (15:21 -0400)
commitca9df7ede41afd006d74fd6f09f36d909d0eaad7
tree0b0285f607e39b80e5c47ddb1d3ece004cd29115
parent42a928ced3a2f36934d9c4157fbd21178e3acff3
net: netcp: fix check of requested timestamping filter

The driver doesn't support timestamping of all received packets and
should return error when trying to enable the HWTSTAMP_FILTER_ALL
filter.

Cc: WingMan Kwok <w-kwok2@ti.com>
Cc: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Miroslav Lichvar <mlichvar@redhat.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/netcp_ethss.c