aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>2009-06-16 10:17:27 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-07-10 14:57:52 -0400
commita33e9e7f35ef6dcab528e0327f29188475f60691 (patch)
treeb49fbe81598cd21fbc1437318f6f525a0e828767 /include/linux/usb
parentd75ec2b7ec27fd6cdba78492fbd63bee4d091a87 (diff)
usbnet: Add stop function pointer to 'struct rndis_data'.
Allow minidriver to know that netdev has stopped. This is to let wireless turn off radio when usbnet dev is stopped. Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi> Acked-by: David Brownell <dbrownell@users.sourceforge.net> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/usb')
-rw-r--r--include/linux/usb/usbnet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/usb/usbnet.h b/include/linux/usb/usbnet.h
index 310e18a880ff..7c17b2efba86 100644
--- a/include/linux/usb/usbnet.h
+++ b/include/linux/usb/usbnet.h
@@ -97,6 +97,9 @@ struct driver_info {
97 /* reset device ... can sleep */ 97 /* reset device ... can sleep */
98 int (*reset)(struct usbnet *); 98 int (*reset)(struct usbnet *);
99 99
100 /* stop device ... can sleep */
101 int (*stop)(struct usbnet *);
102
100 /* see if peer is connected ... can sleep */ 103 /* see if peer is connected ... can sleep */
101 int (*check_connect)(struct usbnet *); 104 int (*check_connect)(struct usbnet *);
102 105