wifi: iwlwifi: reduce verbosity of some logging events
These are cases in which we'd like to warn that something unexpected happened but they may not be errors. Reduce verbosity. Signed-off-by: Golan Ben Ami <golan.ben.ami@intel.com> Signed-off-by: Gregory Greenman <gregory.greenman@intel.com> Link: https://lore.kernel.org/r/20230305124407.5eea0f58a74f.Ifb6b35903a5a452a757bfe50b6a7e58b3fd2ef23@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
7f165fdf29
commit
876882b515
|
@ -350,9 +350,9 @@ void iwl_dbg_tlv_alloc(struct iwl_trans *trans, const struct iwl_ucode_tlv *tlv,
|
|||
|
||||
ret = dbg_tlv_alloc[tlv_idx](trans, tlv);
|
||||
if (ret) {
|
||||
IWL_ERR(trans,
|
||||
"WRT: Failed to allocate TLV 0x%x, ret %d, (ext=%d)\n",
|
||||
type, ret, ext);
|
||||
IWL_WARN(trans,
|
||||
"WRT: Failed to allocate TLV 0x%x, ret %d, (ext=%d)\n",
|
||||
type, ret, ext);
|
||||
goto out_err;
|
||||
}
|
||||
|
||||
|
|
|
@ -190,7 +190,7 @@ static u32 iwl_mvm_set_mac80211_rx_flag(struct iwl_mvm *mvm,
|
|||
default:
|
||||
/* Expected in monitor (not having the keys) */
|
||||
if (!mvm->monitor_on)
|
||||
IWL_ERR(mvm, "Unhandled alg: 0x%x\n", rx_pkt_status);
|
||||
IWL_WARN(mvm, "Unhandled alg: 0x%x\n", rx_pkt_status);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -444,7 +444,7 @@ static int iwl_mvm_rx_crypto(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
|
|||
*/
|
||||
if (!is_multicast_ether_addr(hdr->addr1) &&
|
||||
!mvm->monitor_on && net_ratelimit())
|
||||
IWL_ERR(mvm, "Unhandled alg: 0x%x\n", status);
|
||||
IWL_WARN(mvm, "Unhandled alg: 0x%x\n", status);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue