]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
enet: fec: fix fail resume from suspend state
authorFrank Li <Frank.Li@freescale.com>
Tue, 26 Mar 2013 16:12:03 +0000 (16:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Mar 2013 18:06:40 +0000 (14:06 -0400)
commit14109a59caf93e6eae726a34bf2f0897508ec8c1
tree3b79fb59f6eeea2962fb11b039121c84744c8af0
parenta8c45289f215e137825bf9630d0abb41c1dc41ff
enet: fec: fix fail resume from suspend state

Without this patch
1. boot with nfs (no_console_suspend)
2. echo mem >/sys/power/state
3. wakeup by wakesource
4. print "eth0: tx queue full"

This fix above problem by reinit bd queue at restart function

Signed-off-by: Frank Li <Frank.Li@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec.c