Fixed hard reset crashes in the PCnet code.
This commit is contained in:
@@ -2835,6 +2835,9 @@ pcnet_close(void *priv)
|
|||||||
|
|
||||||
pcnetlog(1, "%s: closed\n", dev->name);
|
pcnetlog(1, "%s: closed\n", dev->name);
|
||||||
|
|
||||||
|
/* Make sure the platform layer is shut down. */
|
||||||
|
network_close();
|
||||||
|
|
||||||
if (dev) {
|
if (dev) {
|
||||||
timer_disable(&dev->poll_timer);
|
timer_disable(&dev->poll_timer);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user