[brcm63xx] wire bcm96348gw-10 reset button (#10854)
[openwrt.git] / target / linux / ar7 / patches-2.6.37 / 160-vlynq_try_remote_first.patch
1 --- a/drivers/vlynq/vlynq.c
2 +++ b/drivers/vlynq/vlynq.c
3 @@ -515,9 +515,14 @@ static int __vlynq_enable_device(struct
4 !__vlynq_try_external(dev))
5 return 0;
6 } else {
7 - if (!__vlynq_try_external(dev) ||
8 - !__vlynq_try_local(dev) ||
9 - !__vlynq_try_remote(dev))
10 + /* XXX: I don't really know what difference it makes, if the order
11 + * of the following calls is changed, but at least in this order
12 + * my fritzbox doesn't hang at startup as in
13 + * https://dev.openwrt.org/ticket/7324
14 + */
15 + if (!__vlynq_try_remote(dev) ||
16 + !__vlynq_try_local(dev) ||
17 + !__vlynq_try_external(dev))
18 return 0;
19 }
20 break;
This page took 0.040477 seconds and 5 git commands to generate.