aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar7/patches-3.3/160-vlynq_try_remote_first.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-05-05 17:32:39 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-05-05 17:32:39 +0000
commitdd884a6b738a85c9db305c17fe5fedd1710f9d23 (patch)
treeda17012ec0c7a1373ae10ef9951403c463d04cfb /target/linux/ar7/patches-3.3/160-vlynq_try_remote_first.patch
parente85a44f11ba3d975789e1b8c8032b7d5197052c0 (diff)
downloadupstream-dd884a6b738a85c9db305c17fe5fedd1710f9d23.tar.gz
upstream-dd884a6b738a85c9db305c17fe5fedd1710f9d23.tar.bz2
upstream-dd884a6b738a85c9db305c17fe5fedd1710f9d23.zip
ar7: add 3.3 support
SVN-Revision: 31615
Diffstat (limited to 'target/linux/ar7/patches-3.3/160-vlynq_try_remote_first.patch')
-rw-r--r--target/linux/ar7/patches-3.3/160-vlynq_try_remote_first.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/ar7/patches-3.3/160-vlynq_try_remote_first.patch b/target/linux/ar7/patches-3.3/160-vlynq_try_remote_first.patch
new file mode 100644
index 0000000000..437bc89d93
--- /dev/null
+++ b/target/linux/ar7/patches-3.3/160-vlynq_try_remote_first.patch
@@ -0,0 +1,20 @@
+--- a/drivers/vlynq/vlynq.c
++++ b/drivers/vlynq/vlynq.c
+@@ -514,9 +514,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;