From 1379b82da0399aa906f80bdf54af85563d5c36bc Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Tue, 4 May 2010 17:00:00 -0700 Subject: [PATCH] rndis_wlan: fix backport of netdev_attach_ops() usage Signed-off-by: Luis R. Rodriguez --- patches/01-netdev.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2