• anonym's avatar
    Avoid use of uninitialized value in restricted-network-detector. · 95de82a5
    anonym authored
    If NetworkManager decides that a wireless connection has timed out
    before "supplicant connection state" has occued, our idea of the state
    is `undef`, so it cannot be used in a string comparison. Hence, let's
    initialize the state to the empty string instead of `undef`.
    Will-fix: #7689