diff options
-rw-r--r-- | drivers/net/usb/cdc_ether.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/usb/cdc_ether.c b/drivers/net/usb/cdc_ether.c index 675ac99a79c6..a42acc3cc609 100644 --- a/drivers/net/usb/cdc_ether.c +++ b/drivers/net/usb/cdc_ether.c | |||
@@ -144,14 +144,14 @@ int usbnet_generic_cdc_bind(struct usbnet *dev, struct usb_interface *intf) | |||
144 | * modem interface from an RNDIS non-modem. | 144 | * modem interface from an RNDIS non-modem. |
145 | */ | 145 | */ |
146 | if (rndis) { | 146 | if (rndis) { |
147 | struct usb_cdc_acm_descriptor *d; | 147 | struct usb_cdc_acm_descriptor *acm; |
148 | 148 | ||
149 | d = (void *) buf; | 149 | acm = (void *) buf; |
150 | if (d->bmCapabilities) { | 150 | if (acm->bmCapabilities) { |
151 | dev_dbg(&intf->dev, | 151 | dev_dbg(&intf->dev, |
152 | "ACM capabilities %02x, " | 152 | "ACM capabilities %02x, " |
153 | "not really RNDIS?\n", | 153 | "not really RNDIS?\n", |
154 | d->bmCapabilities); | 154 | acm->bmCapabilities); |
155 | goto bad_desc; | 155 | goto bad_desc; |
156 | } | 156 | } |
157 | } | 157 | } |