net: qcom/emac: enable flow control if requested
authorTimur Tabi <timur@codeaurora.org>
Mon, 7 Nov 2016 16:51:41 +0000 (10:51 -0600)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Nov 2016 23:45:24 +0000 (18:45 -0500)
commitdf63022e182de4041b65ae22df1950d3416b577e
tree22ef540a7817db2a24cc612ecd9dd71b973ea92e
parent3e884493448131179a5b7cae1ddca1028ffaecc8
net: qcom/emac: enable flow control if requested

If the PHY has been configured to allow pause frames, then the MAC
should be configured to generate and/or accept those frames.

Signed-off-by: Timur Tabi <timur@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/emac/emac-mac.c