• Shaul Triebitz's avatar
    iwlwifi: avoid collecting firmware dump if not loaded · 8745f12a
    Shaul Triebitz authored
    Trying to collect firmware debug data while firmware
    is not loaded causes various errors (e.g. failing NIC access).
    This causes even a bigger issue if at that time the
    HW radio is off.
    In that case, when later turning the radio on, the Driver
    fails to read the HW (registers contain garbage values).
    (It may be that the CSR_GP_CNTRL_REG_FLAG_RFKILL_WAKE_L1A_EN
    bit is cleared on faulty NIC access - since the same behavior
    was seen in HW RFKILL toggling before setting that bit.)
    Signed-off-by: default avatarShaul Triebitz <shaul.triebitz@intel.com>
    Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
    8745f12a
dbg.h 7.48 KB