1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 00:04:35 +02:00

[ar7] vlynq: try remote clock first, then external (#7324)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23737 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2010-10-31 13:10:55 +00:00
parent a81752b112
commit 87baa2e83c

View File

@ -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;