summaryrefslogtreecommitdiffstats
path: root/target/linux/ar7
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-10-31 13:10:55 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-10-31 13:10:55 +0000
commit2434c2bb7082f18c4cc355831d772abfc9dbdbb1 (patch)
treee7ba86d5be68a9fbc2c5f754fa5cba60cd6db32d /target/linux/ar7
parent56eaf842c7bb55519b15e0cd0411948e9ad18f42 (diff)
downloadmaster-31e0f0ae-2434c2bb7082f18c4cc355831d772abfc9dbdbb1.tar.gz
master-31e0f0ae-2434c2bb7082f18c4cc355831d772abfc9dbdbb1.tar.bz2
master-31e0f0ae-2434c2bb7082f18c4cc355831d772abfc9dbdbb1.zip
vlynq: try remote clock first, then external (#7324)
SVN-Revision: 23737
Diffstat (limited to 'target/linux/ar7')
-rw-r--r--target/linux/ar7/patches-2.6.32/160-vlynq_try_remote_first.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/ar7/patches-2.6.32/160-vlynq_try_remote_first.patch b/target/linux/ar7/patches-2.6.32/160-vlynq_try_remote_first.patch
new file mode 100644
index 0000000000..b1adb6fc6e
--- /dev/null
+++ b/target/linux/ar7/patches-2.6.32/160-vlynq_try_remote_first.patch
@@ -0,0 +1,20 @@
+--- a/drivers/vlynq/vlynq.c 2010-08-02 00:11:14.000000000 +0200
++++ b/drivers/vlynq/vlynq.c 2010-10-17 15:49:36.215058054 +0200
+@@ -515,9 +515,14 @@
+ !__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;