projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04fbad7
)
rndis_wlan: fix backport of netdev_attach_ops() usage
author
Luis R. Rodriguez
<lrodriguez@atheros.com>
Wed, 5 May 2010 00:00:00 +0000
(17:00 -0700)
committer
Luis R. Rodriguez
<lrodriguez@atheros.com>
Wed, 5 May 2010 00:00:00 +0000
(17:00 -0700)
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
patches/01-netdev.patch
patch
|
blob
|
history
diff --git
a/patches/01-netdev.patch
b/patches/01-netdev.patch
index fde97050678469632854ba16dc5a5fe5983a00b4..a607a398c72846fd452cc8c6a187b30050b581f3 100644
(file)
--- 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;