Commit 038921ab authored by Herbert Xu's avatar Herbert Xu Committed by Linus Torvalds

[PATCH] free_netdev typo

The free_netdev fixes in 2.6.0-test4 broke drivers/net/wan/cosa.c.
This fixes it.
parent 24964bb1
...@@ -632,7 +632,7 @@ static void sppp_channel_delete(struct channel_data *chan) ...@@ -632,7 +632,7 @@ static void sppp_channel_delete(struct channel_data *chan)
{ {
sppp_detach(chan->pppdev.dev); sppp_detach(chan->pppdev.dev);
unregister_netdev(chan->pppdev.dev); unregister_netdev(chan->pppdev.dev);
free_netdev(chan->ppp.dev); free_netdev(chan->pppdev.dev);
} }
static int cosa_sppp_open(struct net_device *d) static int cosa_sppp_open(struct net_device *d)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment