]> git.baikalelectronics.ru Git - kernel.git/commit
net: bgmac: Start transmit queue in bgmac_open
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 23 Jun 2016 21:25:32 +0000 (14:25 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Jun 2016 08:22:17 +0000 (04:22 -0400)
commitdaa3b12a6ef3ba917e22ea35621cb7d485bf6686
tree0136e597418a64c1f4c21010c9dced5e0a039140
parent2733ac5be54bea88e00a073995151255957f8fa7
net: bgmac: Start transmit queue in bgmac_open

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: f0fa3f586ef4 ("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>
drivers/net/ethernet/broadcom/bgmac.c