]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: iwlwifi: tighten flags in debugfs command sending
authorJohannes Berg <johannes.berg@intel.com>
Tue, 12 May 2026 19:34:28 +0000 (22:34 +0300)
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>
Tue, 26 May 2026 12:17:11 +0000 (15:17 +0300)
commit764a3a1b421f8d4c53c8269bab0decf511acd4f0
tree39c21a3ffcc36eeb43fb303d364994cc6e6c982a
parente2323929a68af099481cf13dd37038fa12647bd4
wifi: iwlwifi: tighten flags in debugfs command sending

The only flags that could reasonably be used here are
CMD_WANT_SKB and CMD_ASYNC, CMD_SEND_IN_RFKILL doesn't
really make sense and CMD_BLOCK_TXQS just triggers a
warning, as does CMD_WANT_SKB | CMD_ASYNC.

Clear CMD_WANT_SKB since the response SKB isn't used
anyway, and refuse flags other than CMD_ASYNC to avoid
the warnings or other issues.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://patch.msgid.link/20260512222731.71b8cda9c4e8.I0cccfd67675989b48d003833f5813c8fbded45a6@changeid
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/debugfs.c