Commit 7e47f416 authored by Johannes Berg's avatar Johannes Berg Committed by Luca Coelho

iwlwifi: allow debug init in RF-kill

We can send this even if initializing in RF-kill, thus
suppressing a bunch of error messages about it. In fact,
we _want_ to, since we might still want to debug the
firmware even if in RF-kill.
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210819183728.bcdb076609e2.I2d177c00772510b5338d8aa45af7558138b08448@changeidSigned-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
parent a76b5731
...@@ -623,6 +623,7 @@ static int iwl_dbg_tlv_apply_buffer(struct iwl_fw_runtime *fwrt, ...@@ -623,6 +623,7 @@ static int iwl_dbg_tlv_apply_buffer(struct iwl_fw_runtime *fwrt,
.id = WIDE_ID(DEBUG_GROUP, BUFFER_ALLOCATION), .id = WIDE_ID(DEBUG_GROUP, BUFFER_ALLOCATION),
.data[0] = &data, .data[0] = &data,
.len[0] = sizeof(data), .len[0] = sizeof(data),
.flags = CMD_SEND_IN_RFKILL,
}; };
int ret, j; int ret, j;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment