Skip to content
  • Joe Hershberger's avatar
    net: Make netretry actually do something · 5c421331
    Joe Hershberger authored
    
    
    netretry previously would only retry in one specific case (your MAC
    address is not set) and no other. This is basically useless. In the DM
    implementation for eth it turns this into a completely useless case
    since an un-configured MAC address results in not even entering the
    NetLoop. The behavior is now changed to retry any failed command
    (rotating through the eth adapters if ethrotate != no).
    
    It also defaulted to retry forever. It is now changed to default to not
    retry
    
    Signed-off-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
    Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
    5c421331