fec_imx: initialize buffers on open time
commit67551e7a76b620ce3a2375bdda6dd5f294d5d084
authorSascha Hauer <s.hauer@pengutronix.de>
Fri, 9 Oct 2009 09:57:07 +0000 (9 11:57 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Fri, 9 Oct 2009 09:57:07 +0000 (9 11:57 +0200)
tree0bff7295adf9cac3b014eb2f054932a5593c0698
parent56d833d07932d5978df50bb95d5f03803288f74c
fec_imx: initialize buffers on open time

We need to redo buffer initialization each time we open
the device, not only once on init time. Otherwise network
does not work if the last transfer was interrupted with
ctrl-c

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
drivers/net/fec_imx.c