Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c72368310d6799da92ec12192d8b15c2ae7ab0b5
Commit:     c72368310d6799da92ec12192d8b15c2ae7ab0b5
Parent:     4ace1138767869547944798ba9f1fd6d1e048acb
Author:     Dan Williams <[EMAIL PROTECTED]>
AuthorDate: Fri May 25 13:35:23 2007 -0400
Committer:  John W. Linville <[EMAIL PROTECTED]>
CommitDate: Mon Jun 11 14:28:41 2007 -0400

    [PATCH] libertas: correctly unregister mesh netdev on error
    
    Subject says it all.
    
    Signed-off-by: Dan Williams <[EMAIL PROTECTED]>
    Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
---
 drivers/net/wireless/libertas/if_usb.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/net/wireless/libertas/if_usb.c 
b/drivers/net/wireless/libertas/if_usb.c
index 6433be6..10698a1 100644
--- a/drivers/net/wireless/libertas/if_usb.c
+++ b/drivers/net/wireless/libertas/if_usb.c
@@ -231,8 +231,7 @@ static int if_usb_probe(struct usb_interface *intf,
        return 0;
 
 err_activate_card:
-       unregister_netdev(priv->mesh_dev);
-       free_netdev(priv->mesh_dev);
+       libertas_remove_mesh(priv);
 err_add_mesh:
        free_netdev(priv->dev);
        kfree(priv->adapter);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to