]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb23577280cc9099d946e17e1800111c09d45a52e
tree0b0285f607e39b80e5c47ddb1d3ece004cd29115
parent24ad8c918eb52256073bc1e8efb092d093f7d73f
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