]> git.baikalelectronics.ru Git - kernel.git/commit
net: netsec: enable tx-irq during open callback
authorJassi Brar <jaswinder.singh@linaro.org>
Mon, 16 Apr 2018 07:22:16 +0000 (12:52 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Apr 2018 17:46:38 +0000 (13:46 -0400)
commit17a29500a30babb07d548ade34992b1004404b3a
tree59a16415de6045b753dfe684adf20acd3813736b
parentd2b7cba616da99bcef38249c75c771097909aacf
net: netsec: enable tx-irq during open callback

Enable TX-irq as well during ndo_open() as we can not count upon
RX to arrive early enough to trigger the napi. This patch is critical
for installation over network.

Fixes: 0d326cdbc883 ("net: socionext: Add Synquacer NetSec driver")
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/socionext/netsec.c