[PATCH] libertas: don't tear down netdev in libertas_activate_card
authorDan Williams <dcbw@redhat.com>
Fri, 25 May 2007 17:36:57 +0000 (13:36 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Jun 2007 18:28:41 +0000 (14:28 -0400)
commit1db733eff6319cdf4199fc7d3a3554fef1361f1a
tree9b377fc2b9b6e2a42744ce3a6f5b0e1d6b9499f2
parentc72368310d6799da92ec12192d8b15c2ae7ab0b5
[PATCH] libertas: don't tear down netdev in libertas_activate_card

libertas_activate_card() doesn't create the netdev, and shouldn't
free it on error.  The caller of libertas_activate_card() is
responsible for cleaning up errors from libertas_add_card(),
not libertas_activate_card().

Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/main.c