aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar7/patches-2.6.37/160-vlynq_try_remote_first.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2011-02-18 12:52:04 +0000
committerFlorian Fainelli <florian@openwrt.org>2011-02-18 12:52:04 +0000
commit590cb083bcfd4b236e9ec4657787b90e1ea3d7d4 (patch)
tree4901bc1686e8906bdec1ccbec4100a3ee792e7d8 /target/linux/ar7/patches-2.6.37/160-vlynq_try_remote_first.patch
parent090c04208901d09b7d87960d5531c5c0e318c956 (diff)
downloadupstream-590cb083bcfd4b236e9ec4657787b90e1ea3d7d4.tar.gz
upstream-590cb083bcfd4b236e9ec4657787b90e1ea3d7d4.tar.bz2
upstream-590cb083bcfd4b236e9ec4657787b90e1ea3d7d4.zip
add support for 2.6.37, thanks Wipster!
SVN-Revision: 25569
Diffstat (limited to 'target/linux/ar7/patches-2.6.37/160-vlynq_try_remote_first.patch')
-rw-r--r--target/linux/ar7/patches-2.6.37/160-vlynq_try_remote_first.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/ar7/patches-2.6.37/160-vlynq_try_remote_first.patch b/target/linux/ar7/patches-2.6.37/160-vlynq_try_remote_first.patch
new file mode 100644
index 0000000000..b98931e9cb
--- /dev/null
+++ b/target/linux/ar7/patches-2.6.37/160-vlynq_try_remote_first.patch
@@ -0,0 +1,20 @@
+--- a/drivers/vlynq/vlynq.c
++++ b/drivers/vlynq/vlynq.c
+@@ -515,9 +515,14 @@ static int __vlynq_enable_device(struct
+ !__vlynq_try_external(dev))
+ return 0;
+ } else {
+- if (!__vlynq_try_external(dev) ||
+- !__vlynq_try_local(dev) ||
+- !__vlynq_try_remote(dev))
++ /* XXX: I don't really know what difference it makes, if the order
++ * of the following calls is changed, but at least in this order
++ * my fritzbox doesn't hang at startup as in
++ * https://dev.openwrt.org/ticket/7324
++ */
++ if (!__vlynq_try_remote(dev) ||
++ !__vlynq_try_local(dev) ||
++ !__vlynq_try_external(dev))
+ return 0;
+ }
+ break;