aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/libertas/if_usb.h
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@debian.org>2007-11-20 17:43:55 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 15:04:51 -0800
commitbe13f1897f76a4b395c3d572a18b2802fd521946 (patch)
tree377723a5010c45f56099f44f91b9ed798c893a76 /drivers/net/wireless/libertas/if_usb.h
parent4fb910fd3ada36cd9fbf6e037b87f2a83fd740b7 (diff)
libertas: reset devices upon disconnect rather than module unloading
1) Do not reset libertas devices upon module unload. We're unloading the module, we're not killing off devices. 2) Instead, reset libertas devices inside if_usb_disconnect, as we're killing off interfaces and so on. 3) Resetting via disconnect callback means we no longer need to keep track of probed libertas devices; kill off that list (and its wonderful lack of locking..), as well. Drop a useless comment as well. Signed-off-by: Andres Salomon <dilinger@debian.org> Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/if_usb.h')
-rw-r--r--drivers/net/wireless/libertas/if_usb.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/libertas/if_usb.h b/drivers/net/wireless/libertas/if_usb.h
index 9b4230864c4..f53ddb25158 100644
--- a/drivers/net/wireless/libertas/if_usb.h
+++ b/drivers/net/wireless/libertas/if_usb.h
@@ -1,8 +1,6 @@
#ifndef _LBS_IF_USB_H
#define _LBS_IF_USB_H
-#include <linux/list.h>
-
/**
* This file contains definition for USB interface.
*/
@@ -44,7 +42,6 @@ struct read_cb_info {
/** USB card description structure*/
struct usb_card_rec {
- struct list_head list;
struct net_device *eth_dev;
struct usb_device *udev;
struct urb *rx_urb, *tx_urb;