aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-4.4/099-0002-net-qmi_wwan-support-raw-IP-mode.patch
diff options
context:
space:
mode:
authorKoen Vandeputte <koen.vandeputte@ncentric.com>2018-02-15 15:15:57 +0100
committerJohn Crispin <john@phrozen.org>2018-02-18 09:34:32 +0100
commit31ae7381b8db6ba58b1943b26c4a23b04928f363 (patch)
treec62c7375d475f918630988440c30107178473046 /target/linux/generic/patches-4.4/099-0002-net-qmi_wwan-support-raw-IP-mode.patch
parent3b227103e6a36bdc25233eecedd11807f5949223 (diff)
downloadupstream-31ae7381b8db6ba58b1943b26c4a23b04928f363.tar.gz
upstream-31ae7381b8db6ba58b1943b26c4a23b04928f363.tar.bz2
upstream-31ae7381b8db6ba58b1943b26c4a23b04928f363.zip
kernel: refresh patches
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target/linux/generic/patches-4.4/099-0002-net-qmi_wwan-support-raw-IP-mode.patch')
-rw-r--r--target/linux/generic/patches-4.4/099-0002-net-qmi_wwan-support-raw-IP-mode.patch11
1 files changed, 3 insertions, 8 deletions
diff --git a/target/linux/generic/patches-4.4/099-0002-net-qmi_wwan-support-raw-IP-mode.patch b/target/linux/generic/patches-4.4/099-0002-net-qmi_wwan-support-raw-IP-mode.patch
index 8b5fc374b3..893fb31e1d 100644
--- a/target/linux/generic/patches-4.4/099-0002-net-qmi_wwan-support-raw-IP-mode.patch
+++ b/target/linux/generic/patches-4.4/099-0002-net-qmi_wwan-support-raw-IP-mode.patch
@@ -51,8 +51,6 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/qmi_wwan.c | 98 +++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 97 insertions(+), 1 deletion(-)
-diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/qmi_wwan.c
-index e3727b66d850..98add3bf8821 100644
--- a/drivers/net/usb/qmi_wwan.c
+++ b/drivers/net/usb/qmi_wwan.c
@@ -14,6 +14,7 @@
@@ -158,7 +156,7 @@ index e3727b66d850..98add3bf8821 100644
/* default ethernet address used by the modem */
static const u8 default_modem_addr[ETH_ALEN] = {0x02, 0x50, 0xf3};
-@@ -80,6 +163,8 @@ static const u8 buggy_fw_addr[ETH_ALEN] = {0x00, 0xa0, 0xc6, 0x00, 0x00, 0x00};
+@@ -80,6 +163,8 @@ static const u8 buggy_fw_addr[ETH_ALEN]
*/
static int qmi_wwan_rx_fixup(struct usbnet *dev, struct sk_buff *skb)
{
@@ -167,7 +165,7 @@ index e3727b66d850..98add3bf8821 100644
__be16 proto;
/* This check is no longer done by usbnet */
-@@ -94,15 +179,25 @@ static int qmi_wwan_rx_fixup(struct usbnet *dev, struct sk_buff *skb)
+@@ -94,15 +179,25 @@ static int qmi_wwan_rx_fixup(struct usbn
proto = htons(ETH_P_IPV6);
break;
case 0x00:
@@ -193,7 +191,7 @@ index e3727b66d850..98add3bf8821 100644
if (skb_headroom(skb) < ETH_HLEN)
return 0;
skb_push(skb, ETH_HLEN);
-@@ -326,6 +421,7 @@ static int qmi_wwan_bind(struct usbnet *dev, struct usb_interface *intf)
+@@ -294,6 +389,7 @@ static int qmi_wwan_bind(struct usbnet *
dev->net->dev_addr[0] &= 0xbf; /* clear "IP" bit */
}
dev->net->netdev_ops = &qmi_wwan_netdev_ops;
@@ -201,6 +199,3 @@ index e3727b66d850..98add3bf8821 100644
err:
return status;
}
---
-2.7.4
-