diff options
-rw-r--r-- | at76_usb.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -579,8 +579,8 @@ static inline int at76_get_hw_cfg_rfmd(struct usb_device *udev, } /* Intersil boards use a different "value" for GetHWConfig requests */ -static inline int get_hw_cfg_intersil(struct usb_device *udev, - union at76_hwcfg *buf, int buf_size) +static inline int at76_get_hw_cfg_intersil(struct usb_device *udev, + union at76_hwcfg *buf, int buf_size) { return usb_control_msg(udev, usb_rcvctrlpipe(udev, 0), 0x33, INTERFACE_VENDOR_REQUEST_IN, @@ -603,7 +603,8 @@ static int at76_get_hw_config(struct at76_priv *priv) case BOARDTYPE_503_INTERSIL_3861: case BOARDTYPE_503_INTERSIL_3863: - ret = get_hw_cfg_intersil(priv->udev, hwcfg, sizeof(hwcfg->i)); + ret = at76_get_hw_cfg_intersil(priv->udev, hwcfg, + sizeof(hwcfg->i)); if (ret < 0) break; memcpy(priv->mac_addr, hwcfg->i.mac_addr, ETH_ALEN); |