From: Luis R. Rodriguez Date: Wed, 5 May 2010 00:00:00 +0000 (-0700) Subject: rndis_wlan: fix backport of netdev_attach_ops() usage X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1379b82da0399aa906f80bdf54af85563d5c36bc;p=openwrt%2Fstaging%2Fblogic.git rndis_wlan: fix backport of netdev_attach_ops() usage Signed-off-by: Luis R. Rodriguez --- diff --git a/patches/01-netdev.patch b/patches/01-netdev.patch index fde970506784..a607a398c728 100644 --- a/patches/01-netdev.patch +++ b/patches/01-netdev.patch @@ -13,7 +13,7 @@ without creating a headache on maintenance of the pathes. u.init->max_transfer_size = cpu_to_le32(dev->rx_urb_size); - net->netdev_ops = &rndis_netdev_ops; -+ netdev_attach_ops(dev, &&rndis_netdev_ops); ++ netdev_attach_ops(net, &rndis_netdev_ops); +#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29)) + /* can't we remove this? */ + net->change_mtu = NULL;