aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2025-05-22 12:17:03 +0000
committerMiri Korenblit <[email protected]>2025-06-18 07:49:40 +0000
commit83f3ac2848b46e3e5af5d06b5f176c17e35733a3 (patch)
tree369ab4bce88c0fd4988b1eb6605417bcad1eac94 /net/unix/af_unix.c
parentwifi: iwlwifi: dvm: restore n_no_reclaim_cmds setting (diff)
downloadkernel-83f3ac2848b46e3e5af5d06b5f176c17e35733a3.tar.gz
kernel-83f3ac2848b46e3e5af5d06b5f176c17e35733a3.zip
wifi: iwlwifi: Fix incorrect logic on cmd_ver range checking
The current cmd_ver range checking on cmd_ver < 1 && cmd_ver > 3 can never be true because the logical operator && is being used, cmd_ver can never be less than 1 and also greater than 3. Fix this by using the logical || operator. Fixes: df6146a0296e ("wifi: iwlwifi: Add a new version for mac config command") Signed-off-by: Colin Ian King <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Miri Korenblit <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions