[package] hostapd: support optional argument for the -v switch of hostapd and wpa_sup...
[openwrt.git] / package / sierra-directip / patches / 110-drop_dhcp_requirement.patch
1 --- a/sierra_net.c
2 +++ b/sierra_net.c
3 @@ -858,10 +858,7 @@ static int sierra_net_bind(struct usbnet
4 /* test whether firmware supports DHCP */
5 if (!(status == sizeof(fwattr) && (cpu_to_le16(fwattr) & SWI_GET_FW_ATTR_MASK))) {
6 /* found incompatible firmware version */
7 - dev_err(&dev->udev->dev, "Incompatible driver and firmware"
8 - " versions\n");
9 - kfree(priv);
10 - return -ENODEV;
11 + dev_err(&dev->udev->dev, "Warning: Firmware does not have DHCP support\n");
12 }
13 /* prepare sync message from template */
14 memcpy(priv->sync_msg, sync_tmplate, sizeof(priv->sync_msg));
This page took 0.049367 seconds and 5 git commands to generate.