|
@@ -259,7 +259,7 @@ void gether_disconnect(struct gether *);
|
|
/* Some controllers can't support CDC Ethernet (ECM) ... */
|
|
/* Some controllers can't support CDC Ethernet (ECM) ... */
|
|
static inline bool can_support_ecm(struct usb_gadget *gadget)
|
|
static inline bool can_support_ecm(struct usb_gadget *gadget)
|
|
{
|
|
{
|
|
- if (!gadget_supports_altsettings(gadget))
|
|
|
|
|
|
+ if (!gadget_is_altset_supported(gadget))
|
|
return false;
|
|
return false;
|
|
|
|
|
|
/* Everything else is *presumably* fine ... but this is a bit
|
|
/* Everything else is *presumably* fine ... but this is a bit
|