diff options
author | Jussi Kivilinna <jussi.kivilinna@mbnet.fi> | 2009-07-30 12:41:52 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-04 16:44:17 -0400 |
commit | 2a4901bcbe9c122bd56e1f6c337fcb4ad75fafb7 (patch) | |
tree | 428a5163b3d925d2d5b9a31c1e7d5bc6ecb149b6 /include/linux/usb/usbnet.h | |
parent | 27b7b5c131a1df6701a96e10d1056de8e3b15aa9 (diff) |
rndis_host: allow rndis_wlan to see all indications
Allow rndis_wlan to see all indications. Currently rndis_host lets rndis_wlan to
know about link state changes only, but there is whole set of other
802.11-specific indications that rndis_wlan should handle properly. So rename
link_change() to indication() and convert rndis_wlan to use it.
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/usb/usbnet.h')
-rw-r--r-- | include/linux/usb/usbnet.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/usb/usbnet.h b/include/linux/usb/usbnet.h index c642f78dd9cf..de8b4b18961b 100644 --- a/include/linux/usb/usbnet.h +++ b/include/linux/usb/usbnet.h | |||
@@ -122,9 +122,8 @@ struct driver_info { | |||
122 | * right after minidriver have initialized hardware. */ | 122 | * right after minidriver have initialized hardware. */ |
123 | int (*early_init)(struct usbnet *dev); | 123 | int (*early_init)(struct usbnet *dev); |
124 | 124 | ||
125 | /* called by minidriver when link state changes, state: 0=disconnect, | 125 | /* called by minidriver when receiving indication */ |
126 | * 1=connect */ | 126 | void (*indication)(struct usbnet *dev, void *ind, int indlen); |
127 | void (*link_change)(struct usbnet *dev, int state); | ||
128 | 127 | ||
129 | /* for new devices, use the descriptor-reading code instead */ | 128 | /* for new devices, use the descriptor-reading code instead */ |
130 | int in; /* rx endpoint */ | 129 | int in; /* rx endpoint */ |