Skip to content

Commit e66647f

Browse files
ffainelligregkh
authored andcommitted
net: bgmac: Start transmit queue in bgmac_open
commit c3897f2a69e54dd113fc9abd2daf872e5b495798 upstream. The driver does not start the transmit queue in bgmac_open(). If the queue was stopped prior to closing then re-opening the interface, we would never be able to wake-up again. Fixes: dd4544f ("bgmac: driver for GBit MAC core on BCMA bus") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent f01babe commit e66647f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • drivers/net/ethernet/broadcom

drivers/net/ethernet/broadcom/bgmac.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1309,6 +1309,9 @@ static int bgmac_open(struct net_device *net_dev)
13091309
phy_start(bgmac->phy_dev);
13101310

13111311
netif_carrier_on(net_dev);
1312+
1313+
netif_start_queue(net_dev);
1314+
13121315
return 0;
13131316
}
13141317

0 commit comments

Comments
 (0)