wifi: iwlwifi: make TB reallocation a debug message
authorJohannes Berg <johannes.berg@intel.com>
Tue, 23 Jan 2024 18:08:12 +0000 (20:08 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 26 Jan 2024 08:47:33 +0000 (09:47 +0100)
There's no need to print this, it's a known issue and
the workaround works just fine. Make the reallocation
message just a debug message.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: Gregory Greenman <gregory.greenman@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240123200528.329d5f2ee7f7.I0bfc6dde17fe2c738129f3aba746c6cba57589f9@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/queue/tx.c

index ca74b1b63cac159cc335feef25edaad6471690c8..ba0419bc1765417abcc37b8f36853305d0ba9c27 100644 (file)
@@ -271,9 +271,10 @@ static int iwl_txq_gen2_set_tb_with_wa(struct iwl_trans *trans,
                meta = NULL;
                goto unmap;
        }
-       IWL_WARN(trans,
-                "TB bug workaround: copied %d bytes from 0x%llx to 0x%llx\n",
-                len, (unsigned long long)oldphys, (unsigned long long)phys);
+       IWL_DEBUG_TX(trans,
+                    "TB bug workaround: copied %d bytes from 0x%llx to 0x%llx\n",
+                    len, (unsigned long long)oldphys,
+                    (unsigned long long)phys);
 
        ret = 0;
 unmap: