]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: call correct function in stmmac_mac_config_rx_queues_routing()
authorNiklas Cassel <niklas.cassel@axis.com>
Mon, 19 Feb 2018 17:11:13 +0000 (18:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Feb 2018 19:13:19 +0000 (14:13 -0500)
commitfb222cb9da3b9b1e2944c0586546aac0a1d9e342
tree0a8e249dbb0065a432c27df7de6ab7e7466adad2
parentcffce74ec33e9ed3fbd9b53910dc6d7bbf9c76d0
net: stmmac: call correct function in stmmac_mac_config_rx_queues_routing()

stmmac_mac_config_rx_queues_routing() incorrectly calls rx_queue_prio()
instead of rx_queue_routing().

This looks like a copy paste issue, since
stmmac_mac_config_rx_queues_prio() already calls rx_queue_prio(),
and both stmmac_mac_config_rx_queues_routing() and
stmmac_mac_config_rx_queues_prio() are very similar in structure.

Fixes: 01508d3612b4 ("net: stmmac: RX queue routing configuration")
Signed-off-by: Niklas Cassel <niklas.cassel@axis.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c