• Liad Kaufman's avatar
    iwlwifi: mvm: make init_dbg effective only on failure · f4744258
    Liad Kaufman authored
    If FW loads without a problem, leaving init_dbg on can
    cause a confusion, since the user won't necessarily
    remember it is still turned on, and there are flows in
    which everything continues as usual, only without
    stopping the device after INIT, even if there is no FW
    assert. On 22000 HW, for instance, this causes a
    warning, since the paging is getting initialized twice.
    
    Solve the issue by making this module param effective
    only if the FW indeed asserts during INIT.
    Signed-off-by: default avatarLiad Kaufman <liad.kaufman@intel.com>
    Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
    f4744258
ops.c 49.2 KB