]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: iwlwifi: pcie: fix write pointer move detection
authorJohannes Berg <johannes.berg@intel.com>
Sun, 31 May 2026 10:53:00 +0000 (13:53 +0300)
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>
Wed, 3 Jun 2026 14:02:55 +0000 (17:02 +0300)
commitf255f1f2a05d2e2147a24f649755b2a0dd8aa1a7
treee324ef2c0388594f3a43d849adeaa13322c630d8
parent33346563d6d2b860c0a11bf31dca925b48dd3db2
wifi: iwlwifi: pcie: fix write pointer move detection

Ever since the TFD queue size is no longer limited to 256 entries,
this code has been wrong, and might erroneously not detect a move
if it was by a multiple of 256. Not a big deal, but fix it while
I see it.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://patch.msgid.link/20260531135036.87ffbeab298e.I4fae41383b6756bccbed250985e0521b68a40d0c@changeid
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/trans.c