]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fsl/fman: fix dtsec_set_tx_pause_frames
authorIgal Liberman <igal.liberman@freescale.com>
Sun, 13 Mar 2016 19:14:43 +0000 (21:14 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Mar 2016 19:03:10 +0000 (15:03 -0400)
commit7c82a7b998c6c6a2cb8a42aeb1d5d3450e51afb3
treef24156182aa40fa3943ae5c3f9baafc5047c9319
parent387178ec26332e2a35529a716ff3e83a3a457fca
fsl/fman: fix dtsec_set_tx_pause_frames

Fix a bug introduced in e06a03b (fsl/fman: fix the pause_time test)
When pause_time is set to '0' - pause frames are disabled and
there's no need to apply dTSEC-A003 Errata workaround.

Signed-off-by: Igal Liberman <igal.liberman@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fman/fman_dtsec.c