[PATCH] orinoco: manual roaming for Symbol and Intersilfirmware
[powerpc.git] / drivers / net / wireless / strip.c
index ec8cf29..6c42b57 100644 (file)
@@ -2828,7 +2828,7 @@ static void __exit strip_exit_driver(void)
        /* Unregister with the /proc/net file here. */
        proc_net_remove("strip");
 
-       if ((i = tty_register_ldisc(N_STRIP, NULL)))
+       if ((i = tty_unregister_ldisc(N_STRIP)))
                printk(KERN_ERR "STRIP: can't unregister line discipline (err = %d)\n", i);
 
        printk(signoff);