diff options
Diffstat (limited to 'drivers/net/wan/c101.c')
-rw-r--r-- | drivers/net/wan/c101.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wan/c101.c b/drivers/net/wan/c101.c index 7e431e5b6e85..94b852fa22a1 100644 --- a/drivers/net/wan/c101.c +++ b/drivers/net/wan/c101.c @@ -416,6 +416,7 @@ static void __exit c101_cleanup(void) while (card) { card_t *ptr = card; + card = card->next_card; unregister_hdlc_device(port_to_dev(ptr)); c101_destroy_card(ptr); |