Ticket #7324: vlynq.2.patch

File vlynq.2.patch, 698 bytes (added by anonymous, 6 years ago)

Attached the wrong patch the last time :( With this patch my fritzbox successfully booted into openwrt. Maybe it is useful for someone.

  • vlynq.c

     
    515515                                !__vlynq_try_external(dev)) 
    516516                                return 0; 
    517517                } else { 
    518                         if (!__vlynq_try_external(dev) || 
    519                                 !__vlynq_try_local(dev)    || 
    520                                 !__vlynq_try_remote(dev)) 
     518            /* XXX: I don't really know what difference it makes, if the order 
     519             * of the following calls is changed, but at least in this order 
     520             * my fritzbox doesn't hang at startup as in 
     521             * https://dev.openwrt.org/ticket/7324 
     522             */ 
     523                        if (!__vlynq_try_remote(dev) || 
     524                                !__vlynq_try_local(dev)  || 
     525                                !__vlynq_try_external(dev)) 
    521526                                return 0; 
    522527                } 
    523528                break;