• Johan Hovold's avatar
    gnss: sirf: fix activation retry handling · 06fd9ab1
    Johan Hovold authored
    Fix activation helper which would return -ETIMEDOUT even if the last
    retry attempt was successful.
    
    Also change the semantics of the retries variable so that it actually
    holds the number of retries (rather than tries).
    
    Fixes: d2efbbd1 ("gnss: add driver for sirfstar-based receivers")
    Cc: stable <stable@vger.kernel.org>	# 4.19
    Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
    06fd9ab1
sirf.c 8.54 KB